mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-08-12 20:02:28 +08:00
fix(ci): setup yarn with corepack
This commit is contained in:
parent
b1be69d686
commit
478b98112e
6
.github/workflows/release-package.yml
vendored
6
.github/workflows/release-package.yml
vendored
@ -7,13 +7,13 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- run: corepack enable
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 22
|
||||
registry-url: https://npm.pkg.github.com/
|
||||
registry-url: https://npm.pkg.github.com/
|
||||
- run: yarn install
|
||||
- run: yarn build
|
||||
- run: yarn publish
|
||||
- run: yarn push
|
||||
env:
|
||||
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
|
||||
permissions:
|
||||
|
Loading…
x
Reference in New Issue
Block a user