Skip to content

chore(deps): update coverallsapp/github-action action to v2.3.6 (#619) #522

chore(deps): update coverallsapp/github-action action to v2.3.6 (#619)

chore(deps): update coverallsapp/github-action action to v2.3.6 (#619) #522

Workflow file for this run

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@648a8eb78e6d50909eff900e4ec85cab4524a45b # v2.3.6
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