Skip to content

fix: fix path rewrite #19

fix: fix path rewrite

fix: fix path rewrite #19

Workflow file for this run

name: release
on:
push:
branches:
- main
permissions:
contents: write
jobs:
release:
runs-on: ubuntu-latest
permissions:
id-token: write
contents: write
steps:
- uses: actions/checkout@v4
- uses: fregante/setup-git-user@v2
- run: corepack enable
- uses: actions/setup-node@v4
with:
node-version: 20
registry-url: "https://registry.npmjs.org"
- name: Install dependencies
run: yarn install
- name: Prepare build environment
run: yarn dev:prepare
- name: release
run: yarn release
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
NPM_TOKEN: ${{secrets.NPM_AUTH_TOKEN}}