-
-
Notifications
You must be signed in to change notification settings - Fork 2
27 lines (27 loc) Β· 731 Bytes
/
ci.yml
File metadata and controls
27 lines (27 loc) Β· 731 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
# Based on https://github.com/actions/starter-workflows/blob/main/ci/node.js.yml
name: CI
on:
pull_request:
branches:
- main
env:
BUGSPLAT_DATABASE: ${{ secrets.BUGSPLAT_DATABASE }}
SYMBOL_UPLOAD_CLIENT_ID: ${{ secrets.SYMBOL_UPLOAD_CLIENT_ID }}
SYMBOL_UPLOAD_CLIENT_SECRET: ${{ secrets.SYMBOL_UPLOAD_CLIENT_SECRET }}
jobs:
ci:
runs-on: ubuntu-latest
steps:
- name: Checkout β
uses: actions/checkout@v4
- name: Setup π
uses: actions/setup-node@v4
with:
node-version: lts/*
cache: 'npm'
- name: Install βοΈ
run: npm ci
- name: Build π
run: npm run build:ci
- name: Test π
run: npm run test:ci