Skip to content

test: bundle.test

test: bundle.test #19

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 files = fs.readdirSync(__dirname);
// const script = require('./bundle.test.js');
// const { version } = require('./package.json');
console.log('##workspace', process.env.GITHUB_WORKSPACE || '');
console.log('##files', files);
// console.log('##version', version);
return 'Hi: Hello!';
- name: Post report console
run: |
echo '${{ steps.bundleTest.outputs.result }}'
shell: bash