Skip to content

Merge pull request #329 from YossiSaadi/master #93

Merge pull request #329 from YossiSaadi/master

Merge pull request #329 from YossiSaadi/master #93

Workflow file for this run

name: CI
on:
push:
branches: ["*"]
pull_request:
branches: [main]
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v3
with:
cache: yarn
node-version: "20"
- name: Install dependencies
run: yarn --frozen-lockfile
- name: Lint
run: yarn lint
size-limit:
name: Size limit
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v3
with:
cache: yarn
node-version: "20"
- name: Install dependencies
run: yarn --frozen-lockfile
- name: Size limit
run: NODE_OPTIONS=--openssl-legacy-provider yarn size
test:
name: Test
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v3
with:
cache: yarn
node-version: "20"
- name: Install dependencies
run: yarn --frozen-lockfile
- name: Test
run: yarn test