Merge pull request #143 from osstotalsoft/fix/subscription-example #128
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This workflow will run tests using node and then publish a package to NPM when a release is created | |
# For more information see: https://help.github.com/actions/language-and-framework-guides/publishing-nodejs-packages | |
name: run tests | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: [master] | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@master | |
- uses: actions/setup-node@v1 | |
with: | |
node-version: 16.x | |
- name: Install packages | |
run: npm ci | |
- name: Test EJS syntax | |
run: npm run ejslint | |
- name: Run tests | |
run: npm test |