Skip to content

Commit

Permalink
ci: fix release flow
Browse files Browse the repository at this point in the history
Signed-off-by: Zxilly <zhouxinyu1001@gmail.com>
  • Loading branch information
Zxilly committed Jul 29, 2021
1 parent 1d819c5 commit 5529cc5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: yarn install --ignore-engines
- run: yarn install
- run: yarn lint
- run: yarn test
- run: yarn coverage
Expand All @@ -32,7 +32,7 @@ jobs:

- name: Run semantic-release
if: github.repository == 'casbin/node-casbin' && github.event_name == 'push'
run: yarn install --no-lockfile && yarn semantic-release
run: yarn install && yarn semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
Expand Down

0 comments on commit 5529cc5

Please sign in to comment.