Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test(ci): use ubuntu-current for emulator / macos-14 for simulator #7608

Merged
merged 7 commits into from
Feb 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/workflows/create_test_patches.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,11 @@ jobs:
# FIXME: when github runner bumped from 18.17.1 to 18.18+ we started seeing template copy errors
# different files, could reproduce locally on linux with v18.18+ and v20.8.0. Pinning to
# prior version (18.17.1) to see if it stabilizes
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 18.17.1

- uses: actions/cache/restore@v3
- uses: actions/cache/restore@v4
name: Yarn Cache Restore
id: yarn-cache
with:
Expand All @@ -50,7 +50,7 @@ jobs:
restore-keys: ${{ runner.os }}-yarn-v1

- name: Yarn Install
uses: nick-fields/retry@v2
uses: nick-fields/retry@v3
with:
timeout_minutes: 15
retry_wait_seconds: 60
Expand Down Expand Up @@ -93,12 +93,12 @@ jobs:
shell: bash

- name: Upload Test Patches
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: patches
path: ~/template/patches/

- uses: actions/cache/save@v3
- uses: actions/cache/save@v4
name: Yarn Cache Save
if: "${{ github.ref == 'refs/heads/main' }}"
with:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,18 +21,18 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 1
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 18
- uses: actions/cache/restore@v3
- uses: actions/cache/restore@v4
name: Yarn Cache Restore
id: yarn-cache
with:
path: .yarn/cache
key: ${{ runner.os }}-yarn-v1-${{ hashFiles('yarn.lock') }}
restore-keys: ${{ runner.os }}-yarn-v1
- name: Yarn Install
uses: nick-fields/retry@v2
uses: nick-fields/retry@v3
with:
timeout_minutes: 15
retry_wait_seconds: 30
Expand All @@ -43,7 +43,7 @@ jobs:
- name: Spell check
run: |
yarn lint:spellcheck
- uses: actions/cache/save@v3
- uses: actions/cache/save@v4
name: Yarn Cache Save
if: "${{ github.ref == 'refs/heads/main' }}"
with:
Expand Down
30 changes: 15 additions & 15 deletions .github/workflows/linting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,36 +22,36 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 1
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 18
- name: Configure JDK
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'
- uses: actions/cache/restore@v3
- uses: actions/cache/restore@v4
name: Yarn Cache Restore
id: yarn-cache
with:
path: .yarn/cache
key: ${{ runner.os }}-yarn-v1-${{ hashFiles('yarn.lock') }}
restore-keys: ${{ runner.os }}-yarn-v1
- name: Yarn Install
uses: nick-fields/retry@v2
uses: nick-fields/retry@v3
with:
timeout_minutes: 15
retry_wait_seconds: 30
max_attempts: 3
command: yarn && yarn lerna:prepare
- name: Lint
uses: nick-fields/retry@v2
uses: nick-fields/retry@v3
with:
timeout_minutes: 3
retry_wait_seconds: 10
max_attempts: 3
command: yarn lint
- uses: actions/cache/save@v3
- uses: actions/cache/save@v4
name: Yarn Cache Save
if: "${{ github.ref == 'refs/heads/main' }}"
with:
Expand All @@ -67,26 +67,26 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 1
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 18
- uses: actions/cache/restore@v3
- uses: actions/cache/restore@v4
name: Yarn Cache Restore
id: yarn-cache
with:
path: .yarn/cache
key: ${{ runner.os }}-yarn-v1-${{ hashFiles('yarn.lock') }}
restore-keys: ${{ runner.os }}-yarn-v1
- name: Yarn Install
uses: nick-fields/retry@v2
uses: nick-fields/retry@v3
with:
timeout_minutes: 15
retry_wait_seconds: 30
max_attempts: 3
command: yarn && yarn lerna:prepare
- name: Lint
run: yarn tsc:compile
- uses: actions/cache/save@v3
- uses: actions/cache/save@v4
name: Yarn Cache Save
if: "${{ github.ref == 'refs/heads/main' }}"
with:
Expand All @@ -102,33 +102,33 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 1
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 18
- uses: actions/cache/restore@v3
- uses: actions/cache/restore@v4
name: Yarn Cache Restore
id: yarn-cache
with:
path: .yarn/cache
key: ${{ runner.os }}-yarn-with-website-v1-${{ hashFiles('yarn.lock') }}
restore-keys: ${{ runner.os }}-yarn-with-website-v1
- name: Yarn Install
uses: nick-fields/retry@v2
uses: nick-fields/retry@v3
with:
timeout_minutes: 15
retry_wait_seconds: 30
max_attempts: 3
command: yarn && yarn lerna:prepare
- name: Yarn Install (Website)
uses: nick-fields/retry@v2
uses: nick-fields/retry@v3
with:
timeout_minutes: 3
retry_wait_seconds: 30
max_attempts: 3
command: cd website && yarn
- name: Generate TypeDoc
run: node -e "require('./website/scripts/generate-typedoc').generateTypedoc()"
- uses: actions/cache/save@v3
- uses: actions/cache/save@v4
name: Yarn Cache Save
if: "${{ github.ref == 'refs/heads/main' }}"
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr_title.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
steps:
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 18
- uses: amannn/action-semantic-pull-request@v5
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ jobs:
with:
ref: 'main'
fetch-depth: 0
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 18
- name: Yarn Install
uses: nick-fields/retry@v2
uses: nick-fields/retry@v3
with:
timeout_minutes: 15
retry_wait_seconds: 60
Expand All @@ -32,7 +32,7 @@ jobs:
git config --global user.name '@Salakar'
git config --global user.email '[email protected]'
git remote set-url origin [email protected]:$GITHUB_REPOSITORY
- uses: webfactory/ssh-agent@v0.8.0
- uses: webfactory/ssh-agent@v0.9.0
with:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
- name: Publish Packages
Expand Down
Loading
Loading