Skip to content

Commit

Permalink
Add runner
Browse files Browse the repository at this point in the history
  • Loading branch information
nanasess committed Feb 11, 2023
1 parent efebb67 commit 3a1ea3c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ ubuntu-latest, macos-latest ]
os: [ ubuntu-latest, ubuntu-20.04, macos-latest, macos-11 ]
branch: [ 'master', 'now' ]
steps:
- uses: actions/checkout@v3
- if: matrix.os == 'ubuntu-latest'
- if: startsWith(matrix.os, 'ubuntu')
run: echo 'CHROMEAPP=google-chrome' >> $GITHUB_ENV
- if: matrix.os == 'macos-latest'
- if: startsWith(matrix.os, 'macos')
run: echo 'CHROMEAPP=/Applications/Google Chrome.app/Contents/MacOS/Google Chrome' >> $GITHUB_ENV
- run: rm -rf node_modules && yarn install --frozen-lockfile
- run: yarn build
Expand Down Expand Up @@ -55,13 +55,13 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ ubuntu-latest, macos-latest ]
os: [ ubuntu-latest, ubuntu-20.04, macos-latest, macos-11 ]
branch: [ 'master', 'now' ]
steps:
- uses: actions/checkout@v3
- if: matrix.os == 'ubuntu-latest'
- if: startsWith(matrix.os, 'ubuntu')
run: echo 'CHROMEAPP=google-chrome' >> $GITHUB_ENV
- if: matrix.os == 'macos-latest'
- if: startsWith(matrix.os, 'macos')
run: echo 'CHROMEAPP=/Applications/Google Chrome.app/Contents/MacOS/Google Chrome' >> $GITHUB_ENV
- run: rm -rf node_modules && yarn install --frozen-lockfile
- run: yarn build
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,11 @@ on:

jobs:
test:
runs-on: windows-latest
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ windows-latest, windows-2019 ]
branch: [ 'master', 'now' ]
steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -51,10 +52,11 @@ jobs:
yarn ts-node "$Env:GITHUB_WORKSPACE\__tests__\chromedriver.ts"
test_default_version:
runs-on: windows-latest
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ windows-latest, windows-2019 ]
branch: [ 'master', 'now' ]
steps:
- uses: actions/checkout@v3
Expand Down

0 comments on commit 3a1ea3c

Please sign in to comment.