猬嗭笍 Bump js-yaml from 3.14.2 to 3.15.0 #1772
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: Test Release Publish | |
| on: | |
| push: | |
| jobs: | |
| test: | |
| name: Test | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| with: | |
| ref: ${{ github.head_ref }} | |
| - name: Get yarn cache | |
| id: yarn-cache | |
| run: echo "::set-output name=dir::$(yarn cache dir)" | |
| - uses: actions/cache@v3 | |
| with: | |
| path: ${{ steps.yarn-cache.outputs.dir }} | |
| key: ubuntu-latest-node-20.x-yarn-${{ hashFiles('**/yarn.lock') }} | |
| restore-keys: | | |
| ubuntu-latest-node-20.x-yarn- | |
| - uses: actions/setup-node@v3 | |
| with: | |
| node-version: 20.x | |
| registry-url: https://registry.npmjs.org/ | |
| - name: Install | |
| run: yarn install | |
| - name: Test | |
| run: yarn test --ci --bail | |
| - uses: codecov/codecov-action@v1 | |
| with: | |
| token: ${{ secrets.CODECOV_TOKEN }} # not required for public repos | |
| directory: ./coverage # optional |