Skip to content

Commit

Permalink
ci(semantic-release): add release workflow and semantic-release config
Browse files Browse the repository at this point in the history
  • Loading branch information
velrest committed Oct 7, 2020
1 parent bead626 commit 70963b7
Show file tree
Hide file tree
Showing 3 changed files with 3,040 additions and 100 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Release

on:
push:
branches:
- release

jobs:
build:
name: Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1

- name: Install dependencies
run: yarn install

- name: Release on NPM
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: yarn semantic-release --branch release
4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
},
"devDependencies": {
"@adfinis-sygroup/eslint-config": "1.3.1",
"@adfinis-sygroup/semantic-release-config": "2.1.4",
"@ember/optional-features": "2.0.0",
"@glimmer/component": "1.0.2",
"@glimmer/tracking": "1.0.2",
Expand Down Expand Up @@ -83,5 +84,8 @@
},
"ember-addon": {
"configPath": "tests/dummy/config"
},
"release": {
"extends": "@adfinis-sygroup/semantic-release-config"
}
}
Loading

0 comments on commit 70963b7

Please sign in to comment.