Skip to content

Commit

Permalink
Create test.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
pngwn authored Aug 21, 2024
1 parent 175c256 commit 5fd8760
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: test

on:
pull_request:
branches:
- main
paths-ignore:
- 'site/**'

jobs:
preview:
runs-on: ubuntu-latest
steps:
- run: echo "{hello: 1, world: 2}" >> json.json
- uses: actions/github-script@v7
with:
script: |
const json = await import('./json.json');
console.log(JSON.stringify(json, null, 2));

0 comments on commit 5fd8760

Please sign in to comment.