Skip to content

Commit f248974

Browse files
committed
try this
1 parent f5f7e74 commit f248974

File tree

1 file changed

+15
-10
lines changed

1 file changed

+15
-10
lines changed

.github/workflows/npm-publish-stable.yml

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,6 @@ jobs:
1616
- uses: actions/setup-node@v3
1717
with:
1818
node-version: 18
19-
- run: yarn test
20-
21-
publish-gpr:
22-
needs: build
23-
runs-on: ubuntu-latest
24-
permissions:
25-
contents: read
26-
packages: write
27-
steps:
28-
- uses: actions/checkout@v3
2919
- uses: actions/setup-node@v3
3020
with:
3121
node-version: 18
@@ -52,6 +42,21 @@ jobs:
5242
- name: Yarn Build
5343
run: yarn build
5444

45+
test:
46+
needs: build
47+
runs-on: ubuntu-latest
48+
steps:
49+
- run: yarn test
50+
51+
publish-gpr:
52+
needs: build
53+
runs-on: ubuntu-latest
54+
permissions:
55+
contents: read
56+
packages: write
57+
steps:
58+
- uses: actions/checkout@v3
59+
5560
- run: yarn publish-stable
5661
env:
5762
NODE_AUTH_TOKEN: ${{secrets.NPM_ACCESS_TOKEN}}

0 commit comments

Comments
 (0)