mirror of
https://github.com/archtechx/livewire-petite-vue.git
synced 2025-12-12 16:44:03 +00:00
CD workflow
This commit is contained in:
parent
ff59f31cb4
commit
a3ce05ad14
1 changed files with 17 additions and 0 deletions
17
.github/workflows/publish.yml
vendored
Normal file
17
.github/workflows/publish.yml
vendored
Normal file
|
|
@ -0,0 +1,17 @@
|
||||||
|
name: Publish Node.js package
|
||||||
|
on:
|
||||||
|
release:
|
||||||
|
types: [created]
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- uses: actions/setup-node@v1
|
||||||
|
with:
|
||||||
|
node-version: '12.x'
|
||||||
|
registry-url: 'https://registry.npmjs.org'
|
||||||
|
- run: npm install
|
||||||
|
- run: npm publish --access=public
|
||||||
|
env:
|
||||||
|
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue