ci: add build stage

This commit is contained in:
xiaowei 2021-01-05 19:06:43 +08:00
parent 0003736e46
commit 10d24f5f7e

View File

@ -17,9 +17,10 @@ jobs:
uses: actions/setup-node@v1 uses: actions/setup-node@v1
with: with:
node-version: ${{ matrix.node-version }} node-version: ${{ matrix.node-version }}
- name: npm install, build, and test - name: npm install, test, and build
run: | run: |
npm install npm install
npm test npm test
npm run build
env: env:
CI: true CI: true