Skip to content

Commit 3d7fffc

Browse files
authored
Merge pull request #17 from lob/chore/SYNC-233
chore/SYNC-233/npm publish upgrade
2 parents 80dce48 + 49e8488 commit 3d7fffc

4 files changed

Lines changed: 2008 additions & 3810 deletions

File tree

.github/workflows/publish.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: NPM Publish
2+
on:
3+
push:
4+
branches: [main]
5+
workflow_dispatch:
6+
7+
permissions:
8+
id-token: write # Required for OIDC
9+
contents: write
10+
11+
jobs:
12+
publish:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: Checkout code
16+
uses: actions/checkout@v5
17+
18+
- name: Setup Node.js
19+
uses: actions/setup-node@v4
20+
with:
21+
node-version-file: ".node-version"
22+
registry-url: https://registry.npmjs.org
23+
24+
- name: Install npm
25+
run: npm install -g npm@11.5.1
26+
27+
- name: Install dependencies
28+
run: npm install
29+
30+
- name: Publish to npm
31+
id: publish
32+
uses: JS-DevTools/npm-publish@v4

.node-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
20.19.4

0 commit comments

Comments
 (0)