Skip to content

test: bundle.test

test: bundle.test #7

Workflow file for this run

name: 'Custom action'
on:
push:
branches:
- '*'
- '!master'
jobs:
composite:
name: 'composite'
runs-on: ubuntu-latest
steps:
- name: Use Node.js 18.x
uses: actions/setup-node@v1
with:
node-version: 18.x
- name: Bundle test
uses: actions/github-script@v7
id: bundleTest
with:
result-encoding: JSON
script: |
const script = require('./bundle.test.js');
console.log(script({ github }));
return { hi: 'Hello!' };
- name: Post report console
run: |
echo '${{ steps.bundleTest.outputs.result.hi }}'
shell: bash