Skip to content

build(deps): bump minimatch and serve #229

build(deps): bump minimatch and serve

build(deps): bump minimatch and serve #229

Workflow file for this run

name: test
on:
push:
branches: [main, dev]
pull_request:
branches: [dev, main]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [22.x, 24.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
steps:
- uses: actions/checkout@v4
- name: Local Unit Test ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- run: npm i
- run: |
npm run lint
npm test
- name: Install Playwright Browsers
if: ${{ success() && github.event_name != 'pull_request' && matrix.node-version == '22.x' }}
run: npx playwright install --with-deps
- name: Runtime test
if: ${{ success() && github.event_name != 'pull_request' && matrix.node-version == '22.x' }}
run: |
npm run build
npm run test-runtime
- name: Generate Coverage
if: ${{ success() && github.event_name != 'pull_request' && matrix.node-version == '22.x' }}
run: npm run cov
- uses: qltysh/qlty-action/coverage@v1
if: ${{ success() && github.event_name != 'pull_request' && matrix.node-version == '22.x' }}
with:
token: ${{ secrets.QLTY_COVERAGE_TOKEN }}
files: ./coverage/lcov.info