Skip to content

Fix/nested case statements (#210) #551

Fix/nested case statements (#210)

Fix/nested case statements (#210) #551

Workflow file for this run

name: "Build"
on:
push:
workflow_dispatch:
inputs:
reason:
description: "Reason"
required: true
jobs:
build:
name: Build
runs-on: ubuntu-latest
services:
mongo:
image: mongo:7.0
ports:
- 27017:27017
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
registry-url: https://registry.npmjs.org/
# Skip post-install scripts here, as a malicious
# script could steal NODE_AUTH_TOKEN.
- name: Install NPM dependencies
run: npm install --ignore-scripts
- name: Run linting
run: npm run lint
- name: Run tests
run: npm run test-ci
pack:
name: NPM Pack
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
registry-url: https://registry.npmjs.org/
# Skip post-install scripts here, as a malicious
# script could steal NODE_AUTH_TOKEN.
- name: Install NPM dependencies
run: npm install --ignore-scripts --production
- name: Run NPM pack
run: npm pack
docs:
name: Build and Publish Docs
needs: build
uses: ./.github/workflows/ci-docs.yml