Skip to content

Commit

Permalink
ci: fix CI script
Browse files Browse the repository at this point in the history
  • Loading branch information
hsluoyz committed Oct 27, 2023
1 parent 3b1d8d7 commit 1ebbf6d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/semantic-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ jobs:
matrix:
node-version: [^14, ^16, ^18]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- uses: actions/setup-node@v1
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: yarn install
Expand All @@ -29,16 +29,16 @@ jobs:
needs: [test]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- uses: actions/setup-node@v2
- uses: actions/setup-node@v3
with:
cache: npm
node-version: 18

# Install yarn
- run: npm install -g yarn

- name: Run semantic-release
if: github.repository == 'casdoor/casdoor-nodejs-sdk' && github.event_name == 'push'
run: |
Expand Down

0 comments on commit 1ebbf6d

Please sign in to comment.