combine namespace and key in readObject
#5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy Package | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
deploy-package: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: antongolub/action-setup-bun@v1 | |
with: | |
bun-version: 1.0.4 | |
bun-config: '{"install": {"production": false}}' | |
cache: true | |
cache-bin: true | |
- uses: actions/cache@v3 | |
id: bun-cache | |
with: | |
path: ./node_modules | |
key: ${{ runner.os }}-bun-${{ hashFiles('**/bun.lockb') }} | |
restore-keys: ${{ runner.os }}-bun- | |
- run: bun install | |
if: ${{ steps.bun-cache.outputs.cache-hit != 'true' }} | |
- run: bun run build | |
- run: | | |
npm config set //registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }} | |
npm publish --access public |