feat: support flat config (#65) #18
Workflow file for this run
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: Sync | |
env: {NODE_VERSION: 14} | |
# Triggers the workflow on create new tag | |
on: | |
push: | |
tags: ['**'] | |
jobs: | |
sync_cnpm: | |
name: Sync latest version from npm to cnpm | |
runs-on: ubuntu-latest | |
steps: | |
- 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 |