Skip to content

Create test.yaml

Create test.yaml #4

Workflow file for this run

name: test
on:
pull_request:
branches:
- main
paths-ignore:
- 'site/**'
jobs:
preview:
runs-on: ubuntu-latest
steps:
- run: echo "${{ toJson(github.event) }}" >> json.json
- run: cat json.json
- uses: actions/github-script@v7
with:
script: |
const json = require('./json.json');
console.log(JSON.stringify(json, null, 2));