Skip to content

Commit

Permalink
chore: use cnpm to sync eslint-plugin-wxml (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
iChenLei authored Nov 2, 2021
1 parent 3a65744 commit e16233a
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/cnpm.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
name: Sync

env: {NODE_VERSION: 14}

# Triggers the workflow on create new tag
on:
push:
Expand All @@ -11,5 +13,8 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Use curl to sync cnpm version
run: curl https://npmmirror.com/sync/eslint-plugin-wxml
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with: {node-version: '${{ env.NODE_VERSION }}'}
- run: npm install cnpm -g
- run: cnpm sync eslint-plugin-wxml

1 comment on commit e16233a

@vercel
Copy link

@vercel vercel bot commented on e16233a Nov 2, 2021

Choose a reason for hiding this comment

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

Please sign in to comment.