Skip to content

refactor(main.yml): rename pipeline to vue-keybindings #2

refactor(main.yml): rename pipeline to vue-keybindings

refactor(main.yml): rename pipeline to vue-keybindings #2

Workflow file for this run

name: vue-keybindings
on: push
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: '16.x'
- run: yarn
- run: yarn lint
publish:
needs: lint
runs-on: ubuntu-latest
if: startsWith(github.ref, 'refs/tags/v')
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: '16.x'
- run: yarn
- run: yarn build
- uses: JS-DevTools/npm-publish@v1
with:
token: ${{ secrets.NPM_TOKEN }}