mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-27 17:25:16 +00:00
ec51eb7cdd
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 2 to 4. - [Release notes](https://github.com/actions/setup-node/releases) - [Commits](https://github.com/actions/setup-node/compare/v2...v4) --- updated-dependencies: - dependency-name: actions/setup-node dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
41 lines
869 B
YAML
41 lines
869 B
YAML
name: Node.js CI
|
|
|
|
on:
|
|
push:
|
|
branches: [ main ]
|
|
paths:
|
|
- apps/backtest-report
|
|
- frontend
|
|
pull_request:
|
|
branches: [ main ]
|
|
paths:
|
|
- apps/backtest-report
|
|
- frontend
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
|
|
strategy:
|
|
matrix:
|
|
node-version: [ 16.x ]
|
|
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Use Node.js ${{ matrix.node-version }}
|
|
uses: actions/setup-node@v4
|
|
with:
|
|
node-version: ${{ matrix.node-version }}
|
|
- run: npm install -g yarn
|
|
- name: Install
|
|
run: yarn install
|
|
working-directory: "apps/backtest-report"
|
|
- name: Build
|
|
run: yarn run next build
|
|
working-directory: "apps/backtest-report"
|
|
- name: Export
|
|
run: yarn run next export
|
|
working-directory: "apps/backtest-report"
|
|
- run: yarn export
|
|
working-directory: "frontend"
|