Skip to content

Commit

Permalink
update ci versions
Browse files Browse the repository at this point in the history
  • Loading branch information
TuTiDore committed Aug 20, 2024
1 parent bbfb481 commit f1574c8
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 10 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ jobs:

runs-on: windows-latest
steps:
- 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: 20
cache: "yarn"
- name: install Rust stable
uses: dtolnay/rust-toolchain@stable
Expand Down
13 changes: 6 additions & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,34 +10,33 @@ jobs:
runs-on: [ubuntu-latest]
steps:
- name: checkout repo
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: 20
cache: "yarn"
- name: install app dependencies and check frontend
run: yarn && yarn lint:check && yarn format:check

test-build:
needs: check-frontend
if: ${{ github.ref == 'refs/heads/main' }}
strategy:
fail-fast: false
runs-on: [windows-latest]
steps:
- name: checkout repo
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: install Rust stable
uses: dtolnay/rust-toolchain@stable
- name: Rust cache
uses: swatinem/rust-cache@v2
with:
workspaces: "./src-tauri -> target"
- name: setup node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20
cache: "yarn"
- name: install app dependencies
run: yarn
Expand Down

0 comments on commit f1574c8

Please sign in to comment.