Skip to content

Commit ae3bf5d

Browse files
committed
back to 2 jobs
1 parent 2cea676 commit ae3bf5d

File tree

1 file changed

+14
-5
lines changed

1 file changed

+14
-5
lines changed

.github/workflows/release-package.yml

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,18 @@ on:
55
types: [created]
66

77
jobs:
8-
publish:
8+
build:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v4
12+
- uses: actions/setup-node@v4
13+
with:
14+
node-version: 20
15+
- run: npm install
16+
- run: npm run build
17+
18+
publish-gpr:
19+
needs: build
920
runs-on: ubuntu-latest
1021
permissions:
1122
packages: write
@@ -16,10 +27,8 @@ jobs:
1627
with:
1728
node-version: 20
1829
registry-url: https://npm.pkg.github.com/
19-
- run: npm install
20-
- run: npm run build
30+
# - run: npm install
31+
# - run: npm run build
2132
- run: npm publish
2233
env:
2334
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
24-
25-

0 commit comments

Comments
 (0)