fix: adapt publish directory based on builder #391
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: Plugin Tests | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macOS-latest, windows-latest] | |
node-version: [18.18.2, '*'] | |
exclude: | |
- os: macOS-latest | |
node-version: 18.18.2 | |
- os: windows-latest | |
node-version: 18.18.2 | |
fail-fast: false | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v2 | |
with: | |
node-version: ${{ matrix.node-version }} | |
check-latest: true | |
- run: npm ci | |
name: NPM Install | |
- name: Linting | |
run: npm run format:ci | |
if: "${{ matrix.node-version == '*' }}" | |
- name: Run tests | |
run: npm run test |