diff --git a/.github/workflows/main.yml b/.github/workflows/publish.yml similarity index 90% rename from .github/workflows/main.yml rename to .github/workflows/publish.yml index 2f4c498..7c5b4e9 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/publish.yml @@ -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: diff --git a/.github/workflows/build.yml b/.github/workflows/test.yml similarity index 91% rename from .github/workflows/build.yml rename to .github/workflows/test.yml index 87c04bf..d38d103 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/test.yml @@ -2,7 +2,7 @@ name: build on: workflow_dispatch: push: - branches: [ master ] + branches: [ main ] jobs: build: runs-on: ubuntu-latest @@ -16,7 +16,7 @@ jobs: run: | npm install npm run lint - npm test + npm test:ci - name: Coveralls uses: coverallsapp/github-action@master with: