Update Next.js in Legacy Faust #2873
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: Test Packages | |
on: | |
pull_request: | |
paths-ignore: | |
- '**/*.md' | |
jobs: | |
test_packages: | |
name: "Test packages on Node.js ${{ matrix.node }} ${{ matrix.os }}" | |
strategy: | |
matrix: | |
os: ['ubuntu-22.04'] | |
node: ['18', '20'] | |
permissions: | |
checks: write | |
pull-requests: write | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Node.js ${{ matrix.node }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node }} | |
- name: Install | |
run: npm ci | |
- name: Build | |
run: npm run build | |
- name: Tests | |
run: npm run test | |
- name: Code Coverage for FaustWP Core Package | |
uses: ./.github/actions/run-coverage | |
with: | |
working-directory: packages/faustwp-core | |
- name: Code Coverage for FaustWP CLI Package | |
uses: ./.github/actions/run-coverage | |
with: | |
working-directory: packages/faustwp-cli |