Skip to content

Commit bc419b2

Browse files
fix: track dist folder and add beta publish workflow
- Remove dist from .gitignore to include built files in repository - Add dist files to version control for v1.3.1 - Update publish.yml to use --tag beta for prerelease versions
1 parent e2cf76d commit bc419b2

4 files changed

Lines changed: 5381 additions & 2 deletions

File tree

.github/workflows/publish.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,11 @@ jobs:
2929
run: npm run build
3030

3131
- name: Publish to npm
32-
run: npm publish
32+
run: |
33+
if [[ "${{ github.event.release.prerelease }}" == "true" ]]; then
34+
npm publish --tag beta
35+
else
36+
npm publish
37+
fi
3338
env:
3439
NODE_AUTH_TOKEN: ${{ secrets.NPM_PAT }}

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
dist
21
node_modules

0 commit comments

Comments
 (0)