Update ci.yml

This commit is contained in:
CzBiX
2020-09-01 22:42:06 +08:00
committed by GitHub
parent 6bab077497
commit e6564a3fc9

View File

@@ -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}