Skip to content

Version 4.3.0 Release #461

Version 4.3.0 Release

Version 4.3.0 Release #461

Workflow file for this run

name: Node CI Test
on:
push:
branches:
- "main"
pull_request:
types: [opened, synchronize, reopened]
jobs:
build-test:
strategy:
matrix:
node-version: [20.x, 21.x]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Install Yarn
run: npm install -g yarn
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
- uses: actions/cache@v2
id: yarn-cache
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Install Dependencies
run: yarn install --ignore-scripts --frozen-lockfile
- name: Run Jest Tests
run: yarn test
- name: Lint Files
run: yarn lint
- name: Build and Check Types
run: |
yarn flow
yarn build:flow