@@ -96,11 +96,15 @@ jobs:
9696 GITHUB_EMAIL : aether-development+github-actions[bot]@users.noreply.github.com
9797 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
9898
99- - name : Install Dependencies
100- uses : aether-development/.github/actions/install -bun-dependencies@main
99+ - name : Setup Bun
100+ uses : oven-sh/setup -bun@v1
101101 with :
102102 bun-version : ${{ inputs.bun-version }}
103103
104+ - name : Install Dependencies
105+ working-directory : ${{ inputs.working-directory }}
106+ run : bun install --frozen-lockfile
107+
104108 - name : Build
105109 if : ${{ inputs.build }}
106110 run : bun run build
@@ -117,7 +121,7 @@ jobs:
117121 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
118122
119123 - name : Publish to NPM Registry
120- if : ${{ inputs.registry == 'npm' }}
124+ if : ${{ inputs.registry == 'npm' || inputs.registry == 'both' }}
121125 working-directory : ${{ inputs.working-directory }}
122126 env :
123127 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
@@ -128,7 +132,7 @@ jobs:
128132 bun x npm publish --registry https://registry.npmjs.org/
129133
130134 - name : Publish to GitHub Registry
131- if : ${{ inputs.registry == 'github' }}
135+ if : ${{ inputs.registry == 'github' || inputs.registry == 'both' }}
132136 working-directory : ${{ inputs.working-directory }}
133137 env :
134138 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
0 commit comments