feat: add group
for Eacharts
#238
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# /** | |
# * Copyright (c) 2020-Present, Keita Nonaka | |
# * | |
# * This source code is licensed under the MIT license found in the | |
# * LICENSE file in the root directory of this source tree. | |
# */ | |
name: Web CI | |
on: | |
push: | |
paths: | |
- web/** | |
- .github/workflows/webCI.yml | |
jobs: | |
test: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
node-version: [20.x] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: npm install, lint, test | |
working-directory: ./web | |
run: | | |
npm install | |
npm run lint-app | |
env: | |
CI: true | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
node-version: [20.x] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: npm run build | |
working-directory: ./web | |
run: | | |
npm install | |
npm run build | |
env: | |
CI: true |