Skip to content

feat: add cache and improve performance #12

feat: add cache and improve performance

feat: add cache and improve performance #12

Workflow file for this run

name: Release
on:
push:
branches: [main]
permissions:
contents: write
packages: write
issues: write
pull-requests: write
jobs:
release:
name: Semantic Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- uses: actions/setup-node@v4
with:
node-version: 22
cache: npm
registry-url: https://registry.npmjs.org
- run: npm ci --legacy-peer-deps
- run: npx semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}