Skip to content

Commit

Permalink
ci: use main branch as default
Browse files Browse the repository at this point in the history
  • Loading branch information
antongolub committed Mar 17, 2024
1 parent 4b044cf commit 44d6161
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: ${{ github.ref == 'refs/heads/master' && '0' || '1' }}
fetch-depth: ${{ github.ref == 'refs/heads/main' && '0' || '1' }}

- name: Setup Node.js
uses: actions/setup-node@v4
Expand All @@ -35,7 +35,7 @@ jobs:
run: yarn test

# - name: Codeclimate
# if: github.ref == 'refs/heads/master'
# if: github.ref == 'refs/heads/main'
# uses: paambaati/[email protected]
# env:
# CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
Expand All @@ -44,7 +44,7 @@ jobs:
# ${{github.workspace}}/target/coverage/lcov.info:lcov

- name: Semantic Release
if: github.ref == 'refs/heads/master'
if: github.ref == 'refs/heads/main'
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
NPM_PROVENANCE: true
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "zurk",
"version": "0.0.0",
"description": "zx core utils",
"description": "A generic process spawner",
"type": "module",
"main": "target/cjs/index.cjs",
"exports": {
Expand Down

0 comments on commit 44d6161

Please sign in to comment.