diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 624e7dc..88725e2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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