Skip to content

chore: setup workspaces #1

chore: setup workspaces

chore: setup workspaces #1

Workflow file for this run

name: Node.js CI
on:
push:
branches:
- main
paths:
- workspaces/sec-literal/**
pull_request:
paths:
- workspaces/sec-literal/**
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x, 18.x]
fail-fast: false
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: npm install
- name: Run tests
run: npm run test