Skip to content

build: Update dependencies 2024-02-14 #13

build: Update dependencies 2024-02-14

build: Update dependencies 2024-02-14 #13

Workflow file for this run

name: CI
on:
push:
branches:
- master
- releases/v*
pull_request:
jobs:
validate-dependencies:
name: Validate dependencies
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
- name: Install Yarn with Corepack
run: corepack enable |
corepack prepare yarn@stable --activate
- name: yarn install
run: yarn install --immutable --immutable-cache
if: ${{ github.event_name != 'pull_request' }}
- name: yarn install --check-cache
run: yarn install --immutable --immutable-cache --check-cache
if: ${{ github.event_name == 'pull_request' }}
compile:
name: Compile TypeScript
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
- name: Install Yarn with Corepack
run: corepack enable |
corepack prepare yarn@stable --activate
- name: compile
run: yarn compile
lint:
name: Run ESLint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
- name: Install Yarn with Corepack
run: corepack enable |
corepack prepare yarn@stable --activate
- name: lint
run: yarn lint
test:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
- name: Install Yarn with Corepack
run: corepack enable |
corepack prepare yarn@stable --activate
- name: jest
run: yarn test