Bump js-yaml from 3.14.1 to 3.14.2 #33
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: DataURI | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request_target: | |
| types: [assigned, opened, synchronize, reopened] | |
| jobs: | |
| check-package: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| node: ['10', '12', '14', '16'] | |
| name: Check package on Node.js ${{ matrix.node }} | |
| steps: | |
| - uses: actions/checkout@v2 | |
| if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }} | |
| - uses: actions/checkout@v2 | |
| with: | |
| ref: ${{ github.event.pull_request.head.sha }} | |
| if: ${{ github.event_name == 'pull_request_target' }} | |
| - uses: actions/setup-node@v2 | |
| with: | |
| node-version: ${{ matrix.node }} | |
| - uses: actions/cache@v2 | |
| with: | |
| path: ~/.npm | |
| key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} | |
| restore-keys: | | |
| ${{ runner.os }}-node- | |
| - name: Build and test | |
| run: | | |
| npm ci --prefer-offline --no-audit | |
| npm test |