Skip to content

Bump ruby/setup-ruby from 1.235.0 to 1.257.0 #257

Bump ruby/setup-ruby from 1.235.0 to 1.257.0

Bump ruby/setup-ruby from 1.235.0 to 1.257.0 #257

Workflow file for this run

name: restyle
on:
push:
branches:
- master
pull_request:
env:
RUBY_VERSION: 3.0.3
NODE_VERSION: 20.11.0
jobs:
build-ts:
name: 'Build Typescript'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
- uses: actions/setup-node@3235b876344d2a9aa001b8d1453c930bba69e610 # v3.9.1
with:
node-version: ${{ env.NODE_VERSION }}
- run: |
yarn
yarn build
build-fixture-ts:
name: 'Build fixture Typescript'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
- uses: actions/setup-node@3235b876344d2a9aa001b8d1453c930bba69e610 # v3.9.1
with:
node-version: ${{ env.NODE_VERSION }}
- run: |
yarn
yarn build
cd fixture
yarn
yarn build:android
yarn build:ios
lint-ts:
name: 'Lint Typescript'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
- uses: actions/setup-node@3235b876344d2a9aa001b8d1453c930bba69e610 # v3.9.1
with:
node-version: ${{ env.NODE_VERSION }}
- run: |
yarn
yarn lint
test-ts:
name: 'Test Typescript'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
- uses: actions/setup-node@3235b876344d2a9aa001b8d1453c930bba69e610 # v3.9.1
with:
node-version: ${{ env.NODE_VERSION }}
- run: |
yarn
yarn test --forceExit
# Note that we decided not to build the iOS fixture app as it would take around 30 minutes. Since updates to the fixture app
# will generally not contain native code changes, the build is not entirely necessary and can be added in the future if needed.
build-android:
name: 'Build Android'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
- uses: actions/setup-node@3235b876344d2a9aa001b8d1453c930bba69e610 # v3.9.1
with:
node-version: ${{ env.NODE_VERSION }}
- name: ruby setup
uses: ruby/setup-ruby@44511735964dcb71245e7e55f72539531f7bc0eb # v1.257.0
with:
ruby-version: ${{ env.RUBY_VERSION }}
bundler-cache: true
- run: |
cd fixture
yarn
cd android
./gradlew assembleDebug