Skip to content

Merge pull request #1 from jcbhmr/main #3

Merge pull request #1 from jcbhmr/main

Merge pull request #1 from jcbhmr/main #3

Workflow file for this run

name: Test action
on:
push:
branches: "main"
paths-ignore:
- README.md
- LICENSE
- .gitignore
- .github/**
- "!.github/workflows/test-action.yml"
pull_request:
paths-ignore:
- README.md
- LICENSE
- .gitignore
- .github/**
- "!.github/workflows/test-action.yml"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test-action:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "20"
cache: npm
- run: npm install
- run: npm run build
- id: main
uses: ./
- shell: jq -C . {0}
run: ${{ toJSON(steps.main.outputs) }}