Skip to content

Commit

Permalink
ci: add permission
Browse files Browse the repository at this point in the history
  • Loading branch information
sxzz committed Aug 30, 2023
1 parent eac238e commit 1aaaf58
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,15 @@ on:
jobs:
release:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: actions/setup-node@v2
with:
node-version: '18'
node-version: lts/*
registry-url: https://registry.npmjs.org/
- run: npm i -g pnpm @antfu/ni
- run: nci
Expand Down

0 comments on commit 1aaaf58

Please sign in to comment.