Skip to content

Commit

Permalink
fix action
Browse files Browse the repository at this point in the history
  • Loading branch information
marcus-j-davies committed Apr 28, 2024
1 parent e184d2e commit f3b06ab
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/publish-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ on:
types: [published]

jobs:
build:
test:
if: github.event.release.prereleased == true
runs-on: ubuntu-latest
steps:
if: github.event.release.prereleased == true
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
Expand All @@ -18,11 +18,11 @@ jobs:
npm run build
npm run test
publish:
needs: build
build-publish:
if: github.event.release.prereleased == true
needs: test
runs-on: ubuntu-latest
steps:
if: github.event.release.prereleased == true
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ on:
types: [published]

jobs:
build:
test:
if: github.event.release.prereleased == false
runs-on: ubuntu-latest
steps:
if: github.event.release.prereleased == false
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
Expand All @@ -18,11 +18,11 @@ jobs:
npm run build
npm run test
publish:
needs: build
build-publish:
if: github.event.release.prereleased == false
needs: test
runs-on: ubuntu-latest
steps:
if: github.event.release.prereleased == false
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
Expand Down

0 comments on commit f3b06ab

Please sign in to comment.