Skip to content

Commit bbcaa6e

Browse files
committed
fix(semantic-release): add whoami
1 parent ce4ab0f commit bbcaa6e

File tree

3 files changed

+14
-8
lines changed

3 files changed

+14
-8
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@ jobs:
1010
name: Release
1111
runs-on: ubuntu-latest
1212
steps:
13-
- uses: actions/checkout@master
14-
- uses: actions/setup-node@v1
13+
- uses: actions/checkout@v2
14+
- uses: actions/setup-node@v2
1515
with:
1616
node-version: "16.x"
1717
- run: npm install
1818
- run: npm run check
19-
- run: npm whoami
20-
- run: npm run dist --if-present
21-
- run: npx semantic-release
19+
- run: npm run library:build
20+
- run: cd lib
21+
- run: npm run semantic-release
2222
env:
2323
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2424
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

.npmignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
node_modules
2+
3+
.storybook
4+
.github
5+
.loki

package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@table-library/react-table-library",
3-
"version": "2.0.30",
3+
"version": "0.0.0-development",
44
"description": "react-table-library",
55
"type": "module",
66
"main": "main.js",
@@ -118,7 +118,8 @@
118118
"copyreadme": "cp -rf README.md lib",
119119
"dist": "npm run check && npm run library:build && cd lib && npm publish",
120120
"dist:beta": "npm run check && npm run library:build && cd lib && npm publish --tag beta",
121-
"prepublishOnly": "echo \"Warning: Don't run 'npm publish' in root. Use 'npm run dist' instead.\" && exit 0"
121+
"prepublishOnly": "echo \"Warning: Don't run 'npm publish' in root. Use 'npm run dist' instead.\" && exit 0",
122+
"semantic-release": "semantic-release"
122123
},
123124
"husky": {
124125
"hooks": {
@@ -133,7 +134,7 @@
133134
},
134135
"repository": {
135136
"type": "git",
136-
"url": "git+https://github.com/table-library/react-table-library.git"
137+
"url": "https://github.com/table-library/react-table-library.git"
137138
},
138139
"keywords": [
139140
"react",

0 commit comments

Comments
 (0)