Skip to content

Commit

Permalink
fix: Use semantic-release out of Docker
Browse files Browse the repository at this point in the history
  • Loading branch information
franky47 committed Dec 13, 2022
1 parent 665b055 commit 306c8a0
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 19 deletions.
18 changes: 2 additions & 16 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,22 +55,8 @@ jobs:
run: pnpm install --ignore-scripts --frozen-lockfile
- name: Build package
run: pnpm build
- uses: docker://ghcr.io/codfish/semantic-release-action@sha256:16ab6c16b1bff6bebdbcc6cfc07dfafff49d23c6818490500b8edb3babfff29e
name: Semantic Release
id: semantic
with:
branches: |
[
'main',
{
name: 'beta',
prerelease: true
},
{
name: 'alpha',
prerelease: true
}
]
- name: Semantic Release
run: npx semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
Expand Down
21 changes: 18 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "sceau",
"version": "0.0.0-semantically-released",
"version": "1.0.0-beta.8",
"description": "Code signing for NPM packages",
"license": "MIT",
"author": {
Expand Down Expand Up @@ -51,7 +51,8 @@
"test": "jest --color --coverage",
"ci": "run-p typecheck test build",
"sceau": "node ./dist/cli.js",
"prepack": "node ./dist/cli.js sign"
"prepack": "node ./dist/cli.js sign",
"semantic-release": "semantic-release"
},
"dependencies": {
"@npmcli/arborist": "^6.1.5",
Expand All @@ -74,13 +75,27 @@
"npm-run-all": "^4.1.5",
"ts-jest": "^29.0.3",
"tsup": "^6.5.0",
"typescript": "^4.9.4"
"typescript": "^4.9.4",
"semantic-release": "^19.0.5"
},
"prettier": {
"arrowParens": "avoid",
"semi": false,
"singleQuote": true,
"tabWidth": 2,
"useTabs": false
},
"release": {
"branches": [
"main",
{
"name": "beta",
"prerelease": true
},
{
"name": "alpha",
"prerelease": true
}
]
}
}

0 comments on commit 306c8a0

Please sign in to comment.