Skip to content

Commit bc815c6

Browse files
authored
fix: resolve issues with github action (#12)
1 parent c441114 commit bc815c6

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

.github/workflows/gh-publish.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,11 @@ on:
44
types:
55
- published
66
jobs:
7-
publish-npm:
7+
publish-gh:
88
runs-on: ubuntu-latest
99
permissions:
1010
contents: read
11+
packages: write
1112
steps:
1213
- name: Checkout
1314
uses: actions/checkout@v4
@@ -18,8 +19,8 @@ jobs:
1819
- name: Setup Node for GitHub Packages
1920
uses: actions/setup-node@v4
2021
with:
21-
node-version: '20.x'
22-
registry-url: 'https://npm.pkg.github.com'
22+
node-version: "20.x"
23+
registry-url: "https://npm.pkg.github.com"
2324

2425
- name: Install Dependencies
2526
run: bun install --frozen-lockfile

.github/workflows/npm-publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@ jobs:
1111
steps:
1212
- name: Checkout
1313
uses: actions/checkout@v4
14-
14+
1515
- name: Setup Bun
1616
uses: oven-sh/setup-bun@v1
1717

1818
- name: Setup Node
1919
uses: actions/setup-node@v4
2020
with:
21-
node-version: '20.x'
22-
registry-url: 'https://registry.npmjs.org'
21+
node-version: "20.x"
22+
registry-url: "https://registry.npmjs.org"
2323

2424
- name: Install Dependencies
2525
run: bun install --frozen-lockfile

0 commit comments

Comments
 (0)