Skip to content

Commit

Permalink
ci: streamline semantic-release
Browse files Browse the repository at this point in the history
  • Loading branch information
davguij committed Jun 18, 2020
1 parent 8976398 commit e3216d9
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 23 deletions.
29 changes: 8 additions & 21 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,30 +80,17 @@ jobs:

release:
runs-on: ubuntu-latest
name: Generate and publish documentation
name: Release version to npm registry
needs: build
if: github.ref == 'refs/heads/main'
steps:
# - name: Check out repository
# uses: actions/checkout@v2

# - name: Use Node 12
# uses: actions/setup-node@v1
# with:
# node-version: 12.x

# - name: Use cached node_modules
# uses: actions/cache@v1
# with:
# path: node_modules
# key: nodeModules-${{ hashFiles('**/yarn.lock') }}
# restore-keys: |
# nodeModules-

# - name: Install dependencies
# run: yarn install --frozen-lockfile
# env:
# CI: true
- name: Check out repository
uses: actions/checkout@v2

- name: Use Node 12
uses: actions/setup-node@v1
with:
node-version: 12.x

- uses: actions/download-artifact@v2
with:
Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,7 @@
"typedoc": "^0.17.7",
"typedoc-plugin-markdown": "^2.3.1",
"typescript": "^3.9.5",
"vuepress": "^1.5.2",
"semantic-release": "^17.0.8"
"vuepress": "^1.5.2"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit e3216d9

Please sign in to comment.