Skip to content

Commit c14c92c

Browse files
committed
📦 Chore: update actions
1 parent 436f229 commit c14c92c

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

.github/workflows/main.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
name: publish
2+
permissions:
3+
contents: read
4+
id-token: write
25
on:
36
push:
47
branches:
@@ -12,9 +15,6 @@ on:
1215
jobs:
1316
build:
1417
runs-on: ubuntu-latest
15-
permissions:
16-
contents: read
17-
packages: write
1818
steps:
1919
- name: Checkout
2020
uses: actions/checkout@v4
@@ -28,7 +28,7 @@ jobs:
2828
- name: Setup Node.js
2929
uses: actions/setup-node@v6
3030
with:
31-
node-version: 22
31+
node-version: 25
3232
registry-url: https://registry.npmjs.org
3333
cache: pnpm
3434

@@ -42,6 +42,6 @@ jobs:
4242
COVERALLS_REPO_TOKEN: "${{ secrets.COVERALLS_REPO_TOKEN }}"
4343
COVERALLS_GIT_BRANCH: "${{ github.ref }}"
4444
- run: pnpm run build
45-
- run: pnpm publish --access public
46-
env:
47-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
45+
- name: Unset NODE_AUTH_TOKEN
46+
run: unset NODE_AUTH_TOKEN
47+
- run: npm publish --access public --provenance

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@
1717
},
1818
"repository": {
1919
"type": "git",
20-
"url": "git+https://github.com/Molunerfinn/typescript-node-template.git"
20+
"url": "https://github.com/PicGo/store"
2121
},
2222
"author": "Molunerfinn",
2323
"license": "MIT",
2424
"bugs": {
25-
"url": "https://github.com/Molunerfinn/typescript-node-template/issues"
25+
"url": "https://github.com/PicGo/store/issues"
2626
},
2727
"husky": {
2828
"hooks": {
@@ -85,4 +85,4 @@
8585
"lodash-id": "^0.14.0",
8686
"write-file-atomic": "^7.0.0"
8787
}
88-
}
88+
}

0 commit comments

Comments
 (0)