Skip to content

build(deps): bump actions/upload-pages-artifact from 4 to 5 #674

build(deps): bump actions/upload-pages-artifact from 4 to 5

build(deps): bump actions/upload-pages-artifact from 4 to 5 #674

Workflow file for this run

# https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions#jobsjob_idstrategymatrix
name: matrix
on: [push, pull_request]
jobs:
nodejs-versions:
runs-on: ubuntu-latest
strategy:
matrix:
node: [18, 20, 22]
steps:
- name: Use Node.js ${{ matrix.node }}
uses: actions/setup-node@v6
with:
node-version: ${{ matrix.node }}
- run: node --version
collection:
runs-on: ubuntu-latest
strategy:
matrix:
collection:
- name: 'one'
digit: 1
- name: 'two'
digit: 2
steps:
- run: echo ${{ matrix.collection.name }}, ${{ matrix.collection.digit }}
array:
runs-on: ubuntu-latest
strategy:
matrix:
array: [
{ name: 'one', digit: 1 },
{ name: 'two', digit: 2 },
]
steps:
- run: echo ${{ matrix.array.name }}, ${{ matrix.array.digit }}