-
Notifications
You must be signed in to change notification settings - Fork 3
41 lines (36 loc) · 850 Bytes
/
qa.yml
File metadata and controls
41 lines (36 loc) · 850 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
38
39
40
41
name: QA
on: pull_request
permissions:
contents: read
packages: read
jobs:
qa:
name: QA
runs-on: ubuntu-latest
timeout-minutes: 15
strategy:
matrix:
node-version: [ '20.x' ]
os: [ ubuntu-latest, macos-latest ]
steps:
- name: Clone repository
uses: actions/checkout@v4
- name: Login to GitHub container registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: |
npm ci
- name: Run QA
run: |
npm run qa
- name: Run build
run: |
npm run build