Skip to content

Publish Lume for Vue 3 #8

Publish Lume for Vue 3

Publish Lume for Vue 3 #8

Workflow file for this run

name: Publish Lume for Vue 3
on: workflow_dispatch
jobs:
setup:
runs-on: ubuntu-latest
environment: release
steps:
- name: Checkout the repo
uses: actions/checkout@v3
- name: Read .nvmrc
run: echo "##[set-output name=NVMRC;]$(cat .nvmrc)"
id: nvm
- name: Use Node version from .nvmrc
uses: actions/setup-node@v3
with:
node-version: ${{ steps.nvm.outputs.NVMRC }}
- name: Install dependencies
run: npm install
- name: Build the package
run: npm run build
- name: Publish to npm registry
run: |
npm config set //registry.npmjs.org/:_authToken ${{ secrets.NPM_ADYEN_LUME_TOKEN }}
npm publish --access=restricted --workspace=packages/vue3