Skip to content

Commit 6bb9704

Browse files
committed
chore: fix ci
1 parent 032dfa4 commit 6bb9704

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

.github/workflows/release.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -9,19 +9,19 @@ jobs:
99
release:
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/checkout@v3
12+
- uses: actions/checkout@v2
1313
with:
1414
fetch-depth: 0
15-
16-
- name: Install pnpm
17-
uses: pnpm/action-setup@v2
18-
19-
- name: Set node
20-
uses: actions/setup-node@v3
15+
- uses: actions/setup-node@v2
2116
with:
22-
node-version: 16.x
23-
cache: pnpm
24-
25-
- run: npx changelogithub
17+
node-version: '20'
18+
registry-url: https://registry.npmjs.org/
19+
- run: npm i -g pnpm @antfu/ni
20+
- run: nci
21+
- run: nr test --if-present
22+
# - run: npm publish --access public
23+
# env:
24+
# NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
25+
- run: npx conventional-github-releaser -p angular
2626
env:
27-
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
27+
CONVENTIONAL_GITHUB_RELEASER_TOKEN: ${{secrets.GITHUB_TOKEN}}

0 commit comments

Comments
 (0)