chore: update deps and require node 18 #38
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | |
on: | |
push: | |
branches: | |
- master | |
- next/vite-4 | |
- "[0-9]+_[0-9]+_X" | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node: [ '18' ] | |
name: Node ${{ matrix.node }} | |
env: | |
SDK_VERSION: 12.2.1.GA | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup node | |
uses: actions/setup-node@v2 | |
with: | |
node-version: ${{ matrix.node }} | |
- name: Install Titanium CLI | |
run: npm i -g titanium | |
- name: Cache Titanium SDK | |
id: titanium-cache | |
uses: actions/cache@v2 | |
with: | |
path: ~/.titanium/mobilesdk/linux/${{ env.SDK_VERSION }} | |
key: ${{ runner.os }}-titanium-sdk-${{ env.SDK_VERSION }} | |
restore-keys: | | |
${{ runner.os }}-titanium-sdk- | |
- name: Install Titanium SDK ${{ env.SDK_VERSION }} | |
if: steps.titanium-cache.outputs.cache-hit != 'true' | |
run: ti sdk install ${{ env.SDK_VERSION }} --force | |
- name: Install dependencies | |
if: steps.node-cache.outputs.cache-hit != 'true' | |
run: yarn |