Last active
January 6, 2021 09:56
-
-
Save Yengas/47aba0635be39b8c3ce327493e62d906 to your computer and use it in GitHub Desktop.
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: 'Lint and Tests' | |
on: push | |
jobs: | |
test: | |
name: Lint and Test Code Base | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [14.x] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- uses: actions/cache@v2 | |
with: | |
path: '**/node_modules' | |
key: ${{ runner.os }}-${{ matrix.node-version }}-modules-${{ hashFiles('**/package-lock.json') }} | |
- run: npm ci | |
- run: npm test | |
env: {CI: 'true'} | |
- run: npm run test:integration | |
env: {CI: 'true'} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment