Skip to content

Update GitHub Actions #4165

Update GitHub Actions

Update GitHub Actions #4165

Workflow file for this run

name: CI
on: [merge_group, push, pull_request, workflow_dispatch]
jobs:
build_test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x, 20.x]
steps:
- name: Checkout Repository
uses: actions/checkout@85e6279cec87321a52edac9c87bce653a07cf6c2
- name: Install Node.js ${{ matrix.node-version }}
uses: actions/setup-node@8f9cc178b6e843639351e0bd5d638e5fd0a8dec7
with:
node-version: ${{ matrix.node-version }}
check-latest: true
- name: Cache Dependencies
uses: actions/cache@36f1e144e1c8edb0a652766b484448563d8baf46
with:
path: '**/node_modules'
key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
- name: Install Dependencies
run: yarn install
- name: Run Linting
run: yarn lint
- name: Run Unit Tests
run: yarn test