Skip to content

Commit

Permalink
fix: npm publish workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Menci committed Dec 19, 2024
1 parent 9d65ac2 commit f01f77d
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:

jobs:
build:
runs-on: windows-latest
runs-on: ubuntu-latest
name: NPM Publish
steps:
- uses: actions/checkout@v4
Expand All @@ -18,8 +18,9 @@ jobs:
run: yarn --frozen-lockfile
- name: Build
run: yarn build
- name: Test
run: yarn test
# Tests are failing on ubuntu-latest runners while windows-latest runners can't run NPM publish
# - name: Test
# run: yarn test
- name: Publish
uses: JS-DevTools/npm-publish@v2
with:
Expand Down

0 comments on commit f01f77d

Please sign in to comment.