chore: reconfigure lerna for releases #5293
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: [push, pull_request] | |
permissions: | |
contents: read | |
jobs: | |
test: | |
name: test | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [14.x, 16.x, 18.x] | |
env: | |
FORCE_COLOR: 1 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: "npm" | |
- name: Upgrade npm # for workspace support | |
run: npm i -g npm | |
- name: Install Dependencies | |
uses: bahmutov/npm-install@1a235c31658a322a3b024444759650ee6345c26d # tag=v1 | |
with: | |
useRollingCache: true | |
install-command: npm ci --foreground-scripts | |
- name: Lint | |
run: npm run lint | |
- name: Test | |
run: npm test |