Skip to content

Commit

Permalink
Merge pull request #17 from ebenjs/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
ebenjs authored Dec 15, 2023
2 parents be4d26f + 001a8d7 commit d67bb28
Show file tree
Hide file tree
Showing 7 changed files with 2,242 additions and 42 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs

name: Node.js CI

on:
push:
branches: [ "main", "develop" ]
pull_request:
branches: [ "main" ]

jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
node-version: [14.x, 16.x, 18.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm install
- run: npm run lint:fix
- run: npm test
- run: npm run format
- run: npm run build
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
node_modules/
dist/
coverage/
.cache_ggshield

*.log
Expand Down
Loading

0 comments on commit d67bb28

Please sign in to comment.