Skip to content

chore(deps): bump the normal group with 2 updates #87

chore(deps): bump the normal group with 2 updates

chore(deps): bump the normal group with 2 updates #87

Workflow file for this run

name: GitHub Actions
on:
pull_request:
branches:
- main
push:
branches:
- main
release:
types:
- published
permissions:
contents: read
jobs:
build-lint:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
- uses: jdx/mise-action@146a28175021df8ca24f8ee1828cc2a60f980bd5 # v3.5.1
with:
install: true
cache: true
- run: mise lint
- run: mise build
- uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
with:
name: dist
path: dist
if-no-files-found: error
retention-days: 1
include-hidden-files: true
test:
name: test on Node.js v${{ matrix.node-version }}
runs-on: ubuntu-latest
timeout-minutes: 5
strategy:
matrix:
node-version:
- 20
- 22
- 24
env:
# Override Node.js version over mise.toml
MISE_NODE_VERSION: ${{ matrix.node-version }}
steps:
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
- uses: jdx/mise-action@146a28175021df8ca24f8ee1828cc2a60f980bd5 # v3.5.1
with:
install: true
cache: true
- run: mise test
publish:
needs:
- build-lint
- test
if: github.event_name == 'release'
runs-on: ubuntu-latest
timeout-minutes: 5
permissions:
contents: read
id-token: write # required to publish npm package
steps:
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
- uses: jdx/mise-action@146a28175021df8ca24f8ee1828cc2a60f980bd5 # v3.5.1
with:
install: true
cache: true
- uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0
with:
name: dist
path: dist
- run: npm publish