Skip to content

Commit 6123823

Browse files
committed
CI
1 parent 2481437 commit 6123823

2 files changed

Lines changed: 15 additions & 8 deletions

File tree

.github/workflows/publish.yml

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,19 @@ on: push
55
jobs:
66
publish:
77
runs-on: ubuntu-latest
8+
9+
environment: production
10+
11+
permissions:
12+
contents: read
13+
id-token: write # For OIDC
14+
815
steps:
9-
- uses: actions/checkout@v1
10-
- uses: actions/setup-node@v1
11-
with:
12-
node-version: 10
13-
- uses: JS-DevTools/npm-publish@v1
14-
with:
15-
token: ${{ secrets.NPM_TOKEN }}
16+
- uses: actions/checkout@v6
1617

18+
- uses: actions/setup-node@v6
19+
with:
20+
node-version: '24'
21+
registry-url: 'https://registry.npmjs.org'
22+
- run: npm install
23+
- run: npm publish --provenance

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@md-reader/theme",
3-
"version": "2.0.3",
3+
"version": "2.0.4",
44
"description": "Markdown Reader's theme.",
55
"main": "src/index.less",
66
"repository": {

0 commit comments

Comments
 (0)