forked from caplin/FlexLayout
-
Notifications
You must be signed in to change notification settings - Fork 2
37 lines (34 loc) · 926 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
33
34
35
36
37
name: Tests
on:
push:
branches: [ "aperture" ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ "aperture" ]
# Builds images for target boards.
permissions:
contents: read
jobs:
integration:
runs-on: ubuntu-latest
strategy:
matrix:
node: [22.x]
timeout-minutes: 10
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Setup Node.JS ${{ matrix.node }}
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
with:
node-version: ${{ matrix.node }}
cache: 'yarn'
- name: Yarn install
run: yarn install
# - name: Depcheck
# run: yarn run deps
- name: Build Javascript
run: yarn run build
- name: Test Js
run: yarn run test
- name: Lint Javascript
run: yarn run lint