Add cross-fork logger for runtime-handler #690
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: Node CI | |
on: | |
workflow_call: | |
# This gets run by on-merge-main.yml automatically | |
pull_request: | |
branches: | |
- main | |
- master | |
- 'features/*' | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [macos-latest, windows-latest, ubuntu-latest] | |
node-version: [ lts/-1, lts/*] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Update npm to 8.x | |
run: | | |
npm i -g npm@8 | |
- name: npm install, build, and test | |
run: | | |
npm install | |
npm run build | |
npm run test | |
env: | |
CI: true | |
NODE_ENV: test |