mirror of
https://github.com/CzBiX/qb-web.git
synced 2026-04-15 02:39:46 +08:00
Update ci.yml
This commit is contained in:
5
.github/workflows/ci.yml
vendored
5
.github/workflows/ci.yml
vendored
@@ -13,6 +13,7 @@ jobs:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Use Node.js
|
||||
uses: actions/setup-node@v1
|
||||
- run: yarn install
|
||||
- run: yarn run lint
|
||||
- run: yarn run test:unit
|
||||
|
||||
@@ -21,6 +22,10 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
if: ${{ github.event_name == 'push' }}
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Use Node.js
|
||||
uses: actions/setup-node@v1
|
||||
- run: yarn install
|
||||
- name: Set Env
|
||||
run: |
|
||||
export TZ=Asia/Shanghai COMMIT_ID=${${{ github.sha }}::6}
|
||||
|
||||
Reference in New Issue
Block a user