forked from TimboKZ/Chonky
-
Notifications
You must be signed in to change notification settings - Fork 21
32 lines (30 loc) · 886 Bytes
/
tests.yml
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
name: Tests
on:
push:
branches: [ "master" ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ "master" ]
# Builds images for target boards.
jobs:
tests:
runs-on: ubuntu-latest
strategy:
matrix:
node: [18.x]
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
- name: Setup Node.JS ${{ matrix.node }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
cache: 'yarn'
- name: Update yarn and npm
run: npm i -g yarn npm
- name: Enable workspaces
run: yarn config set workspaces-experimental true
- name: Install and build chonky
run: cd ./packages/chonky && yarn install
- name: Install and build chonky-icon-fontawesome
run: cd ./packages/chonky-icon-fontawesome && yarn install