Skip to content

Commit cc3dc9d

Browse files
authored
Merge pull request #16 from fells-code/dev
ci: update for publishing without an npm token
2 parents b8940e6 + e1fb917 commit cc3dc9d

2 files changed

Lines changed: 25 additions & 22 deletions

File tree

.github/workflows/publish.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Publish Package
2+
3+
on:
4+
push:
5+
tags:
6+
- 'v*'
7+
8+
permissions:
9+
id-token: write
10+
contents: read
11+
12+
jobs:
13+
publish:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@v6
17+
18+
- uses: actions/setup-node@v6
19+
with:
20+
node-version: '24'
21+
registry-url: 'https://registry.npmjs.org'
22+
- run: npm ci
23+
- run: npm run build --if-present
24+
- run: npm test
25+
- run: npm publish

.github/workflows/release.yml

Lines changed: 0 additions & 22 deletions
This file was deleted.

0 commit comments

Comments
 (0)