Skip to content

Commit a8ef863

Browse files
committed
ci: try new oidc publish
1 parent a08536d commit a8ef863

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

.github/workflows/publishing.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ name: publish
22
on:
33
release:
44
types: [created]
5+
permissions:
6+
id-token: write # Required for OIDC
7+
contents: read
58
jobs:
69
publish:
710
runs-on: ubuntu-latest
@@ -11,7 +14,7 @@ jobs:
1114
- name: Setup node
1215
uses: actions/setup-node@v4
1316
with:
14-
node-version: '20.x'
17+
node-version: '24.x'
1518
cache: 'npm'
1619
registry-url: 'https://registry.npmjs.org'
1720
- name: Enable Corepack
@@ -20,8 +23,5 @@ jobs:
2023
run: yarn install
2124
- name: Build dist files
2225
run: yarn run build
23-
- name: Publish package
24-
uses: JS-DevTools/npm-publish@v3
25-
with:
26-
token: ${{ secrets.NPM_TOKEN }}
27-
access: 'public'
26+
- name: Publish
27+
run: yarn npm publish

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@deltablot/dropzone",
3-
"version": "7.3.1",
3+
"version": "7.4.0",
44
"description": "Handles drag and drop of files for you.",
55
"keywords": [
66
"dragndrop",

0 commit comments

Comments
 (0)