Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 29 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,33 @@ on:
- major

jobs:
lint-typecheck-test-build:
name: Lint, typecheck, test, build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- uses: actions/setup-node@v4
with:
node-version: 24

- name: Install dependencies
run: npm ci

- name: Lint
run: npm run lint

- name: Typecheck
run: npm run typecheck

- name: Test
run: npm test

- name: Build
run: npm run build

release:
needs: lint-typecheck-test-build
runs-on: ubuntu-latest
permissions:
contents: write
Expand All @@ -26,15 +52,11 @@ jobs:

- uses: actions/setup-node@v4
with:
node-version: 20
registry-url: https://registry.npmjs.org
node-version: 24

- name: Install dependencies
run: npm ci

- name: Run tests
run: npm test

- name: Configure git
run: |
git config user.name "github-actions[bot]"
Expand All @@ -51,12 +73,12 @@ jobs:
run: npm run build

- name: Publish to npm
run: npm publish --provenance --access public
run: npm publish --provenance --access public --ignore-scripts

- name: Commit and tag
run: |
git add package.json
git commit -m "chore: release v${{ steps.version.outputs.value }}"
git commit -m "chore: release v${{ steps.version.outputs.value }} [skip ci]"
git tag "v${{ steps.version.outputs.value }}"
git push origin HEAD:master --follow-tags

Expand Down
1 change: 0 additions & 1 deletion apps/docs/.astro/content-assets.mjs

This file was deleted.

1 change: 0 additions & 1 deletion apps/docs/.astro/content-modules.mjs

This file was deleted.

199 changes: 0 additions & 199 deletions apps/docs/.astro/content.d.ts

This file was deleted.

1 change: 0 additions & 1 deletion apps/docs/.astro/data-store.json

This file was deleted.

5 changes: 0 additions & 5 deletions apps/docs/.astro/settings.json

This file was deleted.

2 changes: 0 additions & 2 deletions apps/docs/.astro/types.d.ts

This file was deleted.

Loading
Loading