Skip to content

Commit

Permalink
💚 chore: 修正 ci 配置项
Browse files Browse the repository at this point in the history
  • Loading branch information
arvinxx committed Jul 10, 2022
1 parent ff39d33 commit 7b0ec15
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 47 deletions.
32 changes: 0 additions & 32 deletions .github/workflows/auto-merge.yml

This file was deleted.

27 changes: 12 additions & 15 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,28 +11,25 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Node.js environment
uses: actions/setup-node@v2.1.2

- name: Install pnpm
uses: pnpm/action-setup@v2
with:
node-version: '14'
version: 7

- name: Cache multiple paths
uses: actions/cache@v2
- name: Setup Node.js environment
uses: actions/setup-node@v2.1.2
with:
path: |
~/.npm
~/cache
!~/cache/exclude
**/node_modules
key: yarn-${{ runner.os }}-${{ hashFiles('package.json') }}
node-version: '16'
cache: 'pnpm'

- name: install
run: yarn
- name: Install deps
run: pnpm install

- name: Code Check
run: yarn lint && yarn test
run: pnpm run lint && pnpm run test

- name: Release
run: yarn release
run: pnpm run release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

1 comment on commit 7b0ec15

@vercel
Copy link

@vercel vercel bot commented on 7b0ec15 Jul 10, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

umi-web-template – ./

umi-web-template.vercel.app
umi-web-template-git-master-arvinxx.vercel.app
umi-web-template-arvinxx.vercel.app

Please sign in to comment.