Skip to content

Commit

Permalink
chore: update workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
david-luna committed Aug 14, 2024
1 parent 90d71f9 commit 5b10c97
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/main.yml → .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,11 @@ jobs:
run: |
npm install
npm run lint
npm test
npm test:ci
- name: Coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Build
run: npm run build
- name: Publish
uses: JS-DevTools/npm-publish@v1
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build.yml → .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: build
on:
workflow_dispatch:
push:
branches: [ master ]
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
Expand All @@ -16,7 +16,7 @@ jobs:
run: |
npm install
npm run lint
npm test
npm test:ci
- name: Coveralls
uses: coverallsapp/github-action@master
with:
Expand Down

0 comments on commit 5b10c97

Please sign in to comment.