Update Node and Package Dependencies (#2464) #5
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: electron-ci | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Set up Node.js 20.17.0 | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '20.17.0' | |
- name: Install lerna 6.1.0 | |
run: npm install -g [email protected] | |
- name: Bootstrap | |
run: npm run bootstrap | |
- name: Lint | |
run: npm run lint | |
- name: Build | |
run: npm run build | |
env: | |
NODE_OPTIONS: --openssl-legacy-provider | |
- name: Check for vulnerabilities | |
run: npm audit | |
continue-on-error: true | |