Skip to content

Commit

Permalink
Update ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
stanislavpodolia committed Feb 29, 2024
1 parent 0b59de8 commit 9f75384
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ jobs:
# - windows-latest
steps:
- name: 'Checkout repository'
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: 'Setup Node ${{ matrix.node }}'
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: '${{ matrix.node }}'
- name: 'Install depependencies'
Expand All @@ -48,16 +48,22 @@ jobs:
yarn compatibilty_check
release:
name: 'Release'
runs-on: ubuntu-latest
runs-on: '${{ matrix.os }}'
strategy:
matrix:
node:
- 20
os:
- ubuntu-latest
needs: build
if: github.event_name == 'push' && (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/next')
steps:
- name: 'Checkout repository'
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: 'Setup Node'
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 18
node-version: '${{ matrix.node }}'
- name: 'Install depependencies'
run: yarn install
- name: 'Build'
Expand Down

0 comments on commit 9f75384

Please sign in to comment.