Skip to content

Commit

Permalink
update workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
dmail committed Aug 13, 2024
1 parent 2c6a779 commit 4c4b91a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ci_eslint_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
# - Check linting passes (no eslint error on files)
# - Run tests and ensure none is failing

name: core
name: eslint_and_tests

on:
push:
Expand All @@ -32,7 +32,7 @@ jobs:
test:
strategy:
matrix:
os: [ubuntu-20.04, macos-12, windows-2022] # https://github.com/actions/runner-images
os: [ubuntu-22.04, macos-14, windows-2022] # https://github.com/actions/runner-images
node: [22.3.0]
runs-on: ${{ matrix.os }}
name: test on ${{ matrix.os }} and node ${{ matrix.node }}
Expand Down Expand Up @@ -62,6 +62,8 @@ jobs:
if: runner.os == 'Windows'
run: npm install lightningcss-win32-x64-msvc
- name: Run ESLint
env:
NODE_OPTIONS: "--max_old_space_size=4096"
run: npm run eslint
- name: Run core tests
run: npm test
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci_test_workspace.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
# - Check linting passes (no eslint error on files)
# - Run tests and ensure none is failing

name: core
name: workspace_tests

on:
push:
Expand All @@ -30,7 +30,7 @@ jobs:
test:
strategy:
matrix:
os: [ubuntu-20.04, macos-12, windows-2022] # https://github.com/actions/runner-images
os: [ubuntu-22.04, macos-14, windows-2022] # https://github.com/actions/runner-images
node: [22.3.0]
runs-on: ${{ matrix.os }}
name: test on ${{ matrix.os }} and node ${{ matrix.node }}
Expand Down

0 comments on commit 4c4b91a

Please sign in to comment.