chore(deps-dev): bump vitest from 1.4.0 to 1.5.0 #20
Workflow file for this run
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: CD | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
linter: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: lts/* | |
- uses: pnpm/[email protected] | |
with: | |
version: latest | |
- run: pnpm install --ignore-scripts | |
- run: pnpm run lint | |
- run: pnpm run tsc | |
tests: | |
needs: linter | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: lts/* | |
- uses: pnpm/[email protected] | |
with: | |
version: latest | |
- run: pnpm install --ignore-scripts | |
- run: pnpm run test | |
release: | |
needs: tests | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
# https://github.com/semantic-release/semantic-release/issues/2636 | |
with: | |
persist-credentials: false | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: lts/* | |
- uses: pnpm/[email protected] | |
with: | |
version: latest | |
- run: pnpm install --ignore-scripts | |
- run: pnpm run build | |
- run: pnpx semantic-release | |
env: | |
GH_TOKEN: ${{ secrets.TIMER_GITHUB_TOKEN }} | |
NPM_TOKEN: ${{ secrets.TIMER_NPM_TOKEN }} |