-
Notifications
You must be signed in to change notification settings - Fork 12
41 lines (37 loc) · 1.07 KB
/
main-ci.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
38
39
40
41
name: CI-Test and Lint
run-name: ${{ github.actor }} acitvates the actions 🚀
on:
push:
branches: ['main']
pull_request:
types: [opened, reopened, synchronize]
branches: ['main']
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
tests:
strategy:
fail-fast: false
matrix:
target: [Circuits, Contracts, Relay, Frontend]
name: ${{ matrix.target }}
uses: ./.github/workflows/build-and-test.yml
with:
target: ${{ matrix.target }}
secrets:
CR_PAT: ${{ secrets.CR_PAT_CI_CD }}
lint:
runs-on: ubuntu-22.04
timeout-minutes: 10
steps:
- name: Check out repository code
uses: actions/checkout@v3
- name: Install node.js
uses: actions/setup-node@v3
with:
node-version: '18'
- name: Install packages
run: yarn
- name: Lint
run: yarn lint:check