-
Notifications
You must be signed in to change notification settings - Fork 1
35 lines (33 loc) · 799 Bytes
/
qa.yml
File metadata and controls
35 lines (33 loc) · 799 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
name: QA
on:
push:
branches: [ main ]
pull_request:
branches: "*"
jobs:
crystal:
runs-on: ubuntu-latest
container:
image: crystallang/crystal:1.15.0
steps:
- uses: actions/checkout@v1
- name: Install required packages
run: |
apt-get update
apt-get -yqq install cmake build-essential
- name: Install shards
run: shards install --ignore-crystal-version
- name: Run QA checks
run: make qa_crystal
js:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Use Node.js 16.x
uses: actions/setup-node@v1
with:
node-version: 16.x
- name: Install JS dependencies
run: npm install
- name: Run QA checks
run: make qa_js