Skip to content

Build Static Test

Build Static Test #1

name: Build Static Test
on: [workflow_dispatch]
jobs:
run-build:
runs-on: ubuntu-latest
environment: test
defaults:
run:
working-directory: ./www
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '18'
- run: echo $CONFIG_FILE > ./src/configs/config.js
- run: cat ./src/configs/config.js
- run: npm install .
- run: npm run build
- uses: actions/upload-artifact@v3
with:
path: ./www/dist