Skip to content

Commit

Permalink
Test release again (#45)
Browse files Browse the repository at this point in the history
* fix: semantic-release action

* fix: missing dep's for @semantic-release

* fix: switch action back to master
  • Loading branch information
moritzjacobs authored Apr 1, 2021
1 parent b76b2db commit a92eab4
Show file tree
Hide file tree
Showing 3 changed files with 180 additions and 7 deletions.
17 changes: 10 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,20 @@ jobs:
needs: prepare
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: npm install, build, and test
run: |
node-version: 12
- name: Install dependencies
run: |
npm install
npm run build
- run: npm install @semantic-release/changelog@3 @semantic-release/git@7 --ignore-scripts --no-save
- uses: codfish/semantic-release-action@v1
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npx semantic-release
168 changes: 168 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@
]
},
"devDependencies": {
"@semantic-release/changelog": "^5.0.1",
"@semantic-release/git": "^9.0.0",
"@types/jest": "^26.0.22",
"@typescript-eslint/eslint-plugin": "^4.20.0",
"@typescript-eslint/parser": "^4.20.0",
Expand Down

0 comments on commit a92eab4

Please sign in to comment.