diff --git a/.github/workflows/package.yml b/.github/workflows/package.yml index ac8f1fa..e60d59f 100644 --- a/.github/workflows/package.yml +++ b/.github/workflows/package.yml @@ -16,7 +16,7 @@ jobs: registry-url: 'https://registry.npmjs.org' scope: '@bitinflow' - run: yarn install - - run: yarn build + - run: yarn ci - run: yarn npm publish env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/package.json b/package.json index 01777ea..5a38e7a 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,7 @@ "dev": "nuxi dev playground", "dev:build": "nuxi build playground", "dev:prepare": "nuxt-module-build --stub && nuxi prepare playground", - "build": "npm run lint && npm run test && npm run prepack", + "ci": "npm run lint && npm run dev:prepare && npm run test && npm run prepack", "release": "npm run lint && npm run test && npm run prepack && changelogen --release && git push --follow-tags", "push": "npm publish --access public", "lint": "eslint .",