diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml new file mode 100644 index 0000000..3681ad3 --- /dev/null +++ b/.github/workflows/tests.yml @@ -0,0 +1,27 @@ +name: Tests + +on: + push: + branches: + - master + pull_request: + branches: + - '**' + workflow_dispatch: + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + - name: with NodeJS + uses: actions/setup-node@v3 + with: + node-version: '18.x' + cache: 'npm' + - run: npm ci + - run: npm run build + - run: npm run lint + - run: npm test