Skip to content

Commit

Permalink
fix: normalize path for windows (#317)
Browse files Browse the repository at this point in the history
  • Loading branch information
atinux authored Oct 14, 2024
1 parent cb2eb4e commit d4c48e5
Show file tree
Hide file tree
Showing 4 changed files with 116 additions and 46 deletions.
25 changes: 21 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,11 @@ jobs:
run: pnpm lint

test:
runs-on: ubuntu-latest

runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
# os: [ubuntu-latest]
steps:
- uses: actions/checkout@v4
- run: corepack enable
Expand All @@ -66,9 +69,23 @@ 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
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
shamefully-hoist=true
strict-peer-dependencies=false
shell-emulator=true
Loading

0 comments on commit d4c48e5

Please sign in to comment.