Skip to content

Commit

Permalink
Merge pull request #135 from buefy/CreateNPMPublishWorkflow
Browse files Browse the repository at this point in the history
Create GitHub Action to Publish `nuxt-buefy` to NPM
  • Loading branch information
Wesley Ford authored Oct 2, 2023
2 parents eff99a7 + 9833393 commit f4cc5fd
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Publish next-buefy to NPM
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v3
# Setup .npmrc file to publish to GitHub Packages
- uses: actions/setup-node@v3
with:
node-version: '16.x'
registry-url: 'https://registry.npmjs.org/'
scope: 'next-buefy'
- run: npm ci
- run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit f4cc5fd

Please sign in to comment.