chore(deps): update dependency vite to v6.0.11 (#616) #519
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: Push to main | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
lint: | |
name: Lint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
- uses: actions/[email protected] | |
with: | |
cache: yarn | |
check-latest: true | |
node-version: 22 | |
- run: yarn | |
- run: yarn lint --no-fix | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
- uses: actions/[email protected] | |
with: | |
cache: yarn | |
check-latest: true | |
node-version: 22 | |
- run: yarn | |
- run: yarn build | |
coverage: | |
name: Test Coverage | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
- uses: actions/[email protected] | |
with: | |
cache: yarn | |
check-latest: true | |
node-version: 22 | |
- run: yarn | |
- run: yarn test | |
- uses: coverallsapp/github-action@cfd0633edbd2411b532b808ba7a8b5e04f76d2c8 # v2.3.4 | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
test: | |
name: Test LTS | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
node: | |
- 20 | |
steps: | |
- uses: actions/[email protected] | |
- uses: actions/[email protected] | |
with: | |
cache: yarn | |
node-version: ${{ matrix.node }} | |
- run: yarn | |
- run: yarn test | |
docs: | |
name: Build & Deploy Docs | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
- uses: actions/[email protected] | |
with: | |
cache: yarn | |
check-latest: true | |
node-version: 22 | |
- run: yarn | |
- run: yarn docs:build | |
- uses: JamesIves/[email protected] | |
with: | |
branch: gh-pages | |
folder: docs/.vuepress/dist | |
release: | |
name: Release | |
runs-on: ubuntu-latest | |
needs: | |
- lint | |
- build | |
- coverage | |
- test | |
- docs | |
permissions: | |
contents: write | |
issues: write | |
pull-requests: write | |
steps: | |
- uses: actions/[email protected] | |
- uses: actions/[email protected] | |
with: | |
cache: yarn | |
check-latest: true | |
node-version: 22 | |
- run: yarn | |
# TODO: Possibly download as artifact | |
- run: yarn build | |
- env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | |
run: yarn semantic-release |