fix: update ci #3988
Workflow file for this run
This file contains hidden or 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: [push] | |
| jobs: | |
| build: | |
| 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 }} | |
| - run: | | |
| npm run setup:packages | |
| npm run dependency:check | |
| npm run lint | |
| npm run test | |
| npm run coverage | |
| env: | |
| ACCESS_KEY_ID: ${{ secrets.ACCESS_KEY_ID }} | |
| ACCESS_KEY_SECRET: ${{ secrets.ACCESS_KEY_SECRET }} | |
| - name: Upload coverage to Codecov | |
| uses: codecov/codecov-action@v1 | |
| with: | |
| fail_ci_if_error: false |