Skip to content

Version 3.0.1

Version 3.0.1 #16

Workflow file for this run

name: Publish
on:
release:
types: [published]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x]
steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: npm install, build, and test
run: |
npm i
npm run build
env:
CI: true
VUE_APP_PUBLIC_KEY: ${{ secrets.ik_public_key }}
VUE_APP_PRIVATE_KEY: ${{ secrets.ik_private_key }}
VUE_APP_URL_ENDPOINT: ${{ secrets.ik_url_endpoint }}
publish:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: 16
registry-url: https://registry.npmjs.org/
- name: npm publish
run: |
npm i
npm run build
npm config set //registry.npmjs.org/:_authToken=$NODE_AUTH_TOKEN
npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
CI: true