diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7f78a719..45e35e15 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -44,7 +44,7 @@ jobs: run: pnpm lint test: - runs-on: [ubuntu-latest, windows-latest] + runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 @@ -66,23 +66,9 @@ jobs: - name: Run test suite run: pnpm test - release: - if: github.event_name == 'push' && github.ref == 'refs/heads/main' - needs: [lint, test] - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - run: corepack enable - - uses: actions/setup-node@v4 - with: - node-version: 20 - registry-url: "https://registry.npmjs.org/" - cache: "pnpm" - - name: Install dependencies - run: pnpm install - - name: Prepare environment - run: pnpm dev:prepare + - name: Release Nightly + if: github.event_name == 'push' && github.ref == 'refs/heads/main' run: pnpm changelogen --bump --canary --publish --publishTag nightly env: NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}