Skip to content

Commit c74fe1a

Browse files
committed
fix: add release script
1 parent 78257f7 commit c74fe1a

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

.github/workflows/release.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,7 @@ jobs:
1717
run: npm ci
1818
- name: lint
1919
run: npm run lint
20-
- run: |
21-
npm run semantic-release \
22-
-r git+ssh://git@github.com/squareweave/eslint-config-ackama.git
20+
- run: npm run release
2321
env:
2422
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2523
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
"author": "Gareth Jones",
1212
"scripts": {
1313
"lint": "eslint . --ignore-pattern '!.eslintrc.js' --ext js,ts",
14+
"release": "semantic-release -r git+ssh://git@github.com/squareweave/eslint-config-ackama.git",
1415
"test": "echo \"Error: no test specified\" && exit 1"
1516
},
1617
"commitlint": {

0 commit comments

Comments
 (0)