Skip to content

Commit 9c9b116

Browse files
committed
ci: enable OICD
1 parent 4fc054b commit 9c9b116

File tree

1 file changed

+5
-12
lines changed

1 file changed

+5
-12
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,18 @@ jobs:
1212
contents: write
1313
runs-on: ubuntu-latest
1414
steps:
15-
- uses: actions/checkout@v3
15+
- uses: actions/checkout@v5
1616
with:
1717
fetch-depth: 0
1818

1919
- name: Set node
20-
uses: actions/setup-node@v3
20+
uses: actions/setup-node@v5
2121
with:
22-
node-version: 22
22+
node-version: lts/*
2323
registry-url: 'https://registry.npmjs.org'
2424

25+
- run: npm i -g npm@latest
26+
2527
- run: npx changelogithub
2628
env:
2729
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
@@ -35,23 +37,14 @@ jobs:
3537
- name: Publish to NPM
3638
run: pnpm publish --access public --no-git-checks
3739
working-directory: ./packages/core
38-
env:
39-
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
40-
NPM_CONFIG_PROVENANCE: true
4140

4241
- name: Publish eslint-plugin to NPM
4342
run: pnpm publish --access public --no-git-checks
4443
working-directory: ./packages/eslint
45-
env:
46-
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
47-
NPM_CONFIG_PROVENANCE: true
4844

4945
- name: Publish mcp to NPM
5046
run: pnpm publish --access public --no-git-checks
5147
working-directory: ./packages/mcp
52-
env:
53-
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
54-
NPM_CONFIG_PROVENANCE: true
5548

5649
- name: Publish to VSCE
5750
run: |

0 commit comments

Comments
 (0)