bump minor package versions by "npm upgrade" #38
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: actions/setup-node@v4 | |
with: | |
node-version: 18 | |
- run: echo "::remove-matcher owner=tsc::" | |
- run: echo "::remove-matcher owner=eslint-compact::" | |
- run: echo "::remove-matcher owner=eslint-stylish::" | |
- run: node --version | |
- run: npm clean-install | |
- run: npm run 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 |