Skip to content

Merge pull request #575 from namespacecomm/new_branch_6 #613

Merge pull request #575 from namespacecomm/new_branch_6

Merge pull request #575 from namespacecomm/new_branch_6 #613

Workflow file for this run

name: Node.js CI
on:
push:
branches:
- '*'
pull_request:
branches:
- '*'
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x, 18.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: Install dependencies
run: |
if [ -e yarn.lock ]; then
yarn install --frozen-lockfile
elif [ -e package-lock.json ]; then
npm ci
else
npm i
fi
- name: Build
run: CI=false npm run build