Skip to content

Commit

Permalink
Update GitHub Actions deps & setup cache
Browse files Browse the repository at this point in the history
  • Loading branch information
jhen0409 committed Jul 22, 2023
1 parent d7e8310 commit 7a19ece
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 10 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,11 @@ jobs:
build-test-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
- uses: actions/checkout@v3
- uses: actions/setup-node@v3.7.0
with:
node-version: 18.x
cache: 'yarn'
- name: Setup
run: sudo apt-get install -y libgbm-dev
- name: Test
Expand All @@ -26,10 +27,11 @@ jobs:
build-test-macos:
runs-on: macOS-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
- uses: actions/checkout@v3
- uses: actions/setup-node@v3.7.0
with:
node-version: 18.x
cache: 'yarn'
- name: Test
run: |
yarn
Expand All @@ -40,10 +42,11 @@ jobs:
build-test-windows:
runs-on: windows-2022
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
- uses: actions/checkout@v3
- uses: actions/setup-node@v3.7.0
with:
node-version: 18.x
cache: 'yarn'
- name: Test
shell: bash
run: |
Expand Down
10 changes: 6 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,11 @@ jobs:
release-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
- uses: actions/checkout@v3
- uses: actions/setup-node@v3.7.0
with:
node-version: 18.x
cache: 'yarn'
- name: Package
run: |
yarn
Expand All @@ -24,10 +25,11 @@ jobs:
release-windows:
runs-on: windows-2022
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
- uses: actions/checkout@v3
- uses: actions/setup-node@v3.7.0
with:
node-version: 18.x
cache: 'yarn'
- name: Package
shell: bash
run: |
Expand Down

0 comments on commit 7a19ece

Please sign in to comment.