Skip to content

Commit 235e4d7

Browse files
authored
ci(release.yml): revert delition v3 to actions/setup-node by octoherd script (#72)
This reverts commit d96e54b.
1 parent d96e54b commit 235e4d7

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/release.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Release
2+
"on":
3+
push:
4+
branches:
5+
- main
6+
jobs:
7+
release:
8+
name: release
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # tag=v3
12+
- uses: actions/setup-node@2fddd8803e2f5c9604345a0b591c3020ee971a93 # tag=v3
13+
with:
14+
node-version: 16
15+
cache: npm
16+
- run: npm ci
17+
- run: npx semantic-release
18+
env:
19+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
20+
NPM_TOKEN: ${{ secrets.NPM_AUTOMATION_TOKEN }}

0 commit comments

Comments
 (0)