Manual run (matrix) #1
This file contains hidden or 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: Manual run (matrix) | |
on: | |
workflow_dispatch: | |
jobs: | |
scripterio-example-matrix: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node: [18, 20, 22, 23, 24] | |
name: Node ${{ matrix.node }} sample | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node }} | |
- name: Install dependencies | |
run: npm install | |
- name: Install browsers | |
run: npx playwright install chromium --with-deps | |
- name: Install dependencies | |
run: npm install | |
- name: run test | |
run: npm run test |