Skip to content

Setting up CI/CD

Setting up CI/CD #27

Workflow file for this run

name: Test Runner
on:
pull_request:
branches:
- master
- alpha
push:
branches:
- master
- alpha
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: actions/setup-node@v2
with:
node-version: "20"
- uses: actions/cache@v2
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
- run: npm ci
- name: Build
run: npm run build
- name: Test
run: npm run test