Skip to content

Use npm workspaces to maintain both package.json and a global lock #14

Use npm workspaces to maintain both package.json and a global lock

Use npm workspaces to maintain both package.json and a global lock #14

Workflow file for this run

name: Offchain Test
"on":
push:
branches:
- main
pull_request:
types:
- opened
- synchronize
jobs:
offchain-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
path: 'offchain/github'
- uses: actions/setup-node@v3
with:
node-version: 20
cache: npm
cache-dependency-path: 'offchain/github'
- run: npm ci --workspace 'offchain/github'
- run: npm test