Skip to content

Commit

Permalink
wtf the ci
Browse files Browse the repository at this point in the history
  • Loading branch information
atinux committed Oct 14, 2024
1 parent 4dac367 commit e5199e9
Showing 1 changed file with 3 additions and 17 deletions.
20 changes: 3 additions & 17 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
run: pnpm lint

test:
runs-on: [ubuntu-latest, windows-latest]
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
Expand All @@ -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 }}
Expand Down

0 comments on commit e5199e9

Please sign in to comment.