Skip to content

Commit

Permalink
Update GitHub Actions scripts
Browse files Browse the repository at this point in the history
- Use v3 of GitHub checkout/setup-node actions
- Remove Node.js 12, add Node.js 18 to test matrix
  • Loading branch information
friederbluemle committed Jan 16, 2023
1 parent 4652668 commit 4b2f7af
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,22 +10,22 @@ jobs:
node: ['16']
os: [ubuntu-latest, macos-latest, windows-latest]
include:
- node: '12'
os: ubuntu-latest
- node: '14'
os: ubuntu-latest
- node: '18'
os: ubuntu-latest
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
- run: yarn --frozen-lockfile
test-android:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '16'
- run: yarn --frozen-lockfile
Expand All @@ -38,13 +38,13 @@ jobs:
test-ios:
runs-on: macos-10.15
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '16'
- uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: '12.0'
- uses: actions/setup-node@v2
with:
node-version: '16'
- run: yarn --frozen-lockfile
- name: Run iOS tests
working-directory: ./ios
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ jobs:
if: github.event.repository.fork == false
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '16'
registry-url: 'https://registry.npmjs.org'
Expand Down

0 comments on commit 4b2f7af

Please sign in to comment.