Skip to content

Commit

Permalink
Update test.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
pngwn authored Aug 21, 2024
1 parent 5b301dc commit 9015ac7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ jobs:
preview:
runs-on: ubuntu-latest
steps:
- run: echo "${{ toJson(github.event) }}" >> json.json
- run: cat json.json
- run: echo "module.exports = ${{ toJson(github.event) }}" >> json.js
- run: cat json.js
- uses: actions/github-script@v7
with:
script: |
const json = require('./json.json');
const json = require('./json.js');
console.log(JSON.stringify(json, null, 2));

0 comments on commit 9015ac7

Please sign in to comment.