ci: add git config

pull/83/head
undefined 4 years ago
parent 86a6f6ba0b
commit 1d56353ab6

@ -20,8 +20,13 @@ jobs:
uses: actions/setup-node@v1 uses: actions/setup-node@v1
with: with:
node-version: 14.x node-version: 14.x
- name: Create .npmrc - name: Config
run: 'echo "//registry.npmjs.org/:_authToken=${{secrets.NPM_TOKEN}}" > .npmrc' run: |
echo "//registry.npmjs.org/:_authToken=${{secrets.NPM_TOKEN}}" > .npmrc
git config --global user.name undefined
git config --global user.email i@undefined.moe
- name: Cache
uses: c-hive/gha-yarn-cache@v1
- name: Install - name: Install
run: yarn run: yarn
- name: Build - name: Build
@ -29,9 +34,7 @@ jobs:
yarn build yarn build
yarn build:ui:production yarn build:ui:production
- name: Lint - name: Lint
run: | run: yarn lint:ci
yarn lint:ci
yarn lint:ui:ci
- name: Unit Test - name: Unit Test
run: yarn jest --runInBand run: yarn jest --runInBand
- name: Report Coverage - name: Report Coverage

Loading…
Cancel
Save