Skip to content

Update action.yml

Update action.yml #17

Workflow file for this run

name: Test action
on:
push:
branches: "main"
paths-ignore:
- .gitignore
- LICENSE
- README.md
- .github/**
- "!.github/workflows/test-action.yml"
pull_request:
paths-ignore:
- .gitignore
- LICENSE
- README.md
- .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]
# https://github.com/oven-sh/bun/issues/43
os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: "20"
cache: npm
- run: npm ci
- run: npm run build
- id: main
uses: ./
with:
path: test
- shell: jq -C . {0}
run: ${{ toJSON(steps.main.outputs) }}