Skip to content

Commit

Permalink
Try new actions approach
Browse files Browse the repository at this point in the history
  • Loading branch information
aarong committed Feb 9, 2024
1 parent cc9cc07 commit 577a886
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/built-test-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,22 @@ on:
- push
- workflow_dispatch # Permit manual initiation
jobs:
tests:
build-test-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 'latest'

- run: npm ci
- run: npm run build

- run: npm run coverage
- name: Coveralls
uses: coverallsapp/github-action@v2

- uses: JS-DevTools/npm-publish@v3
# Only publish if tagged v*
- uses: coverallsapp/github-action@v2

# Publish if tagged v*
- uses: JS-DevTools/npm-publish@v3
if: startsWith(github.event.ref, 'refs/tags/v')
with:
package: build # Path
Expand Down

0 comments on commit 577a886

Please sign in to comment.