ci: remove dependency review #19
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: Plugin Test Build | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
test-build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: ["14", "16", "18"] | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v3 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Install packages | |
run: npm install | |
- name: Initialize CodeQL | |
uses: github/codeql-action/init@v2 | |
with: | |
languages: javascript | |
- name: Run lint | |
run: npm run lint | |
- name: Test compile | |
run: | | |
# Running test | |
if [[ "$(node --version)" == "v18"* ]]; then | |
export NODE_OPTIONS=--openssl-legacy-provider | |
fi | |
npm run test-compile |