Skip to content

chore: update anpm registry (#1079) #150

chore: update anpm registry (#1079)

chore: update anpm registry (#1079) #150

name: Auto Publisher
on:
push:
branches:
- master
jobs:
build-and-publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: 14
registry-url: https://registry.npmjs.org/
- run: |
npm i
npm i -g vsce@1
npm run ci:setup
npm run publish
env:
VSCE_TOKEN: ${{secrets.VSCE_TOKEN}}
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
CLIENT_TOKEN: ${{ secrets.DEF_CLIENT_TOKEN }}
ACCESS_KEY_ID: ${{ secrets.ACCESS_KEY_ID }}
ACCESS_KEY_SECRET: ${{ secrets.ACCESS_KEY_SECRET }}
REGISTRY: https://registry.npmjs.org