fix: remove old version @antv/util to reduce size (#27) #10
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
name: build | |
on: [ push, pull_request ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2.3.4 | |
- name: Setup Node.js environment | |
uses: actions/setup-node@v2.1.5 | |
with: | |
node-version: '12' | |
- name: Cache node modules | |
uses: actions/cache@v2 | |
env: | |
cache-name: cache-node-modules | |
with: | |
path: ./node_modules | |
key: ${{ runner.os }}-build-cache-node-modules-${{ hashFiles('**/package.json') }} | |
restore-keys: | | |
cache-node-modules- | |
- name: Run ci | |
run: | | |
npm install | |
npm run ci |