update yarn to 4.5.3 #83
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: | |
push: | |
workflow_dispatch: | |
jobs: | |
ci: | |
name: ci | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: volta-cli/action@v4 | |
- run: echo "::remove-matcher owner=tsc::" | |
- run: echo "::remove-matcher owner=eslint-compact::" | |
- run: echo "::remove-matcher owner=eslint-stylish::" | |
- run: node --version | |
- run: yarn --version | |
- run: yarn install --frozen-lockfile | |
- run: yarn lint | |
- run: yarn test | |
- run: yarn build | |
- if: startsWith(github.ref, 'refs/tags/') | |
name: set package.json version by tag | |
run: npm version --allow-same-version --no-commit-hooks --no-git-tag-version from-git | |
- if: startsWith(github.ref, 'refs/tags/') | |
uses: JS-DevTools/npm-publish@v3 | |
with: | |
token: ${{ secrets.NPM_API_KEY }} | |
package: package.json | |
access: public |