Skip to content

Commit

Permalink
Merge pull request enriikke#58 from enriikke/fix-publishing-workflow
Browse files Browse the repository at this point in the history
Merge publishing workflow and build it before marking the tags
  • Loading branch information
enriikke committed Apr 16, 2021
2 parents d9355c5 + 31fd957 commit 6f1792b
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 24 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,15 @@ jobs:
node-version: [12.x]

steps:
- uses: actions/checkout@v2
- name: Checkout
uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: yarn install
- run: yarn run lint
- run: yarn run test
- name: Dependencies
run: yarn install
- name: Lint
run: yarn run lint
- name: Test
run: yarn run test
7 changes: 4 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,11 @@ jobs:
uses: actions/checkout@v2
with:
ref: ${{ github.event.release.tag_name }}

- name: Dependencies
run: yarn install && yarn build
- name: Tag
uses: JasonEtco/build-and-tag-action@v1
with:
setup: 'yarn build'
env:
GITHUB_TOKEN: ${{ github.token }}
- name: Semver
uses: haya14busa/action-update-semver@v1
17 changes: 0 additions & 17 deletions .github/workflows/update_semver.yml

This file was deleted.

0 comments on commit 6f1792b

Please sign in to comment.