Skip to content

Commit

Permalink
Merge pull request #67 from samk-dev/fix/nuxt-test-utils
Browse files Browse the repository at this point in the history
fix: package.json complaining about nuxt-test-utils && npm-publish fi…
  • Loading branch information
samk-dev authored Aug 8, 2023
2 parents 2b0ac4f + 667d1b4 commit 0b06671
Show file tree
Hide file tree
Showing 4 changed files with 41 additions and 38 deletions.
25 changes: 0 additions & 25 deletions .github/workflows/npm-publish

This file was deleted.

28 changes: 28 additions & 0 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: NPM Publish

on:
release:
types: [created]

jobs:
build:
runs-on: ubuntu-latest

steps:
uses: actions/checkout@v3
uses: actions/setup-node@v3
with:
node-version: "18.x"
registry-url: "https://registry.npmjs.org"

- uses: pnpm/action-setup@v2
name: Install pnpm
with:
version: "8"
run_install: false

- run: pnpm --filter @samk-dev/nuxt-uikit3 install
- name: Publish
run: pnpm --filter @samk-dev/nuxt-uikit3 publish --access public --no-git-checks
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}
1 change: 0 additions & 1 deletion packages/nuxt-uikit3/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@
"nuxt": "^3.6.5",
"sass": "^1.64.2",
"sass-loader": "^13.3.2",
"test-utils@latest": "link:@@nuxt/test-utils@latest",
"vitest": "^0.34.1"
}
}
25 changes: 13 additions & 12 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 0b06671

Please sign in to comment.