mirror of
https://github.com/sern-handler/tools
synced 2026-06-06 01:16:59 +00:00
dumbassyarn
This commit is contained in:
15
.github/workflows/npm-publish.yml
vendored
15
.github/workflows/npm-publish.yml
vendored
@@ -28,15 +28,12 @@ jobs:
|
||||
node-version: 20
|
||||
- run: corepack enable
|
||||
- run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc
|
||||
- run: yarn set version classic
|
||||
working-directory: ./packages/${{ github.event.inputs.package }}
|
||||
- run: yarn install --immutable
|
||||
- run: yarn workspace @sern/ioc build
|
||||
- run: yarn build
|
||||
working-directory: ./packages/${{ github.event.inputs.package }}
|
||||
- run: yarn test
|
||||
working-directory: ./packages/${{ github.event.inputs.package }}
|
||||
- run: yarn publish
|
||||
|
||||
- run: npm install
|
||||
- run: npm build --workspace @sern/${{ github.event.inputs.package }}
|
||||
|
||||
- run: npm test --workspace @sern/${{ github.event.inputs.package }}
|
||||
- run: npm publish --workspace @sern/${{ github.event.inputs.package }}
|
||||
env:
|
||||
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
|
||||
working-directory: ./packages/${{ github.event.inputs.package }}
|
||||
|
||||
Reference in New Issue
Block a user