Skip to content

test: bundle.test

test: bundle.test #18

Workflow file for this run

name: 'Custom action'
on:
push:
branches:
- '*'
- '!master'
jobs:
composite:
name: 'composite'
runs-on: ubuntu-latest
steps:
- name: Checkout to master
uses: actions/checkout@v3
with:
ref: 'master'
path: br-base
token: ${{ secrets.GITHUB_TOKEN }}
- name: Bundle test
uses: actions/github-script@v7
id: bundleTest
with:
result-encoding: string
script: |
// const script = require('./bundle.test.js');
// const { version } = require('./package.json');
console.log('##workspace', process.env.GITHUB_WORKSPACE || '');
console.log('##__dirname', __dirname);
// console.log('##version', version);
return 'Hi: Hello!';
- name: Post report console
run: |
echo '${{ steps.bundleTest.outputs.result }}'
shell: bash