Issue107 #26
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
name: "CI on pull request" | |
on: | |
pull_request: | |
branches: | |
- "master" | |
jobs: | |
test-pr: | |
name: "Build and test for every new PR submitted" | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/setup-node@master | |
with: | |
node-version: "16" | |
registry-url: "https://registry.npmjs.org" | |
- uses: actions/checkout@master | |
- name: "Install dependency" | |
run: npm ci | |
- name: 'Build' | |
run: npm run build | |
- name: 'Test the library' | |
run: npm run test:lib | |
- name: 'Test the demo app' | |
run: npm run test:app |