Skip to content

Commit f226079

Browse files
committed
ci(core): publishing @hawk.so/core to npm
1 parent 5711628 commit f226079

2 files changed

Lines changed: 6 additions & 3 deletions

File tree

.github/workflows/npm-publish.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
publish:
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/checkout@v2
12+
- uses: actions/checkout@v4
1313
- uses: actions/setup-node@v6
1414
with:
1515
node-version-file: '.nvmrc'
@@ -18,14 +18,17 @@ jobs:
1818
- run: yarn
1919
- run: yarn lint-test
2020
- run: yarn build:all
21+
- run: yarn workspace @hawk.so/core npm publish --access=public
22+
env:
23+
YARN_NPM_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
2124
- run: yarn workspace @hawk.so/javascript npm publish --access=public
2225
env:
2326
YARN_NPM_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
2427
notify:
2528
needs: publish
2629
runs-on: ubuntu-latest
2730
steps:
28-
- uses: actions/checkout@v2
31+
- uses: actions/checkout@v4
2932
- name: Get package info
3033
id: package
3134
uses: codex-team/action-nodejs-package-info@v1

packages/javascript/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,10 @@
4040
},
4141
"homepage": "https://github.com/codex-team/hawk.javascript#readme",
4242
"dependencies": {
43+
"@hawk.so/core": "workspace:^",
4344
"error-stack-parser": "^2.1.4"
4445
},
4546
"devDependencies": {
46-
"@hawk.so/core": "workspace:^",
4747
"@hawk.so/types": "0.5.8",
4848
"@vitest/coverage-v8": "^4.0.18",
4949
"jsdom": "^28.0.0",

0 commit comments

Comments
 (0)