-
-
Notifications
You must be signed in to change notification settings - Fork 841
37 lines (31 loc) · 791 Bytes
/
Copy pathbuild.yml
File metadata and controls
37 lines (31 loc) · 791 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: build
on:
push:
branches:
- dev
jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 16.20.2
cache: yarn
cache-dependency-path: yarn.lock
- name: Setup Yarn v1
run: |
corepack enable
corepack prepare yarn@1.22.22 --activate
yarn --version
- name: Install dependencies 📦
run: yarn install --frozen-lockfile
- name: Lint 🧹
run: |
yarn lint
yarn type-check
- name: Build 🔧
run: yarn build
- name: Test 🧪
run: yarn test --testPathIgnorePatterns 'components/dictionaries'