Edit test.yml to CI-Workflow.yml to include build
This commit is contained in:
parent
2ed7786949
commit
c6caa2c42c
|
|
@ -1,4 +1,4 @@
|
|||
name: Test
|
||||
name: CI-Worklflow
|
||||
|
||||
on:
|
||||
push:
|
||||
|
|
@ -36,6 +36,33 @@ jobs:
|
|||
- name: Eslint check
|
||||
run: pnpm lint:script
|
||||
|
||||
build:
|
||||
name: Build
|
||||
env:
|
||||
CI: true
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- uses: pnpm/action-setup@v2.4.0
|
||||
with:
|
||||
version: 7
|
||||
run_install: false
|
||||
|
||||
- name: Use Node.js 18.x
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 18.x
|
||||
cache: 'pnpm'
|
||||
|
||||
- name: Install dependencies
|
||||
run: pnpm install
|
||||
|
||||
- name: Build
|
||||
run: pnpm build
|
||||
|
||||
unit_test:
|
||||
name: Unit test
|
||||
env:
|
||||
Loading…
Reference in New Issue