Skip to content

Commit cb7473a

Browse files
authored
WIP
1 parent 3b69113 commit cb7473a

File tree

2 files changed

+17
-8
lines changed

2 files changed

+17
-8
lines changed

.github/workflows/release.yml

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,16 +25,26 @@ jobs:
2525
- name: Setup Node.js
2626
uses: actions/setup-node@v3
2727
with:
28-
node-version: 'lts/*'
28+
node-version: 16
29+
registry-url: https://registry.npmjs.org/
2930

3031
- name: Install dependencies
31-
run: npm ci
32+
run: npm install
3233

3334
- name: Test
3435
run: npm test
3536

36-
- name: Release 🚀
37+
- name: publish npm
38+
run: npm publish
3739
env:
38-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
39-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
40-
run: npx semantic-release
40+
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
41+
42+
- name: Publish GHP
43+
- uses: actions/setup-node@v3
44+
with:
45+
node-version: 16
46+
registry-url: https://npm.pkg.github.com/
47+
- run: npm install
48+
- run: npm publish
49+
env:
50+
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,7 @@
5555
"husky": "^7.0.4",
5656
"jest": "^27.5.1",
5757
"prettier": "^2.6.2",
58-
"pretty-quick": "^3.1.3",
59-
"semantic-release": "^19.0.3"
58+
"pretty-quick": "^3.1.3"
6059
},
6160
"husky": {
6261
"hooks": {

0 commit comments

Comments
 (0)