Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 17 additions & 15 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,32 +24,33 @@ jobs:
install:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v5
- uses: ./.github/actions/install-deps

build:
runs-on: ubuntu-latest
needs: install
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v5
- name: Prepare repository
run: git fetch --unshallow --tags
- uses: ./.github/actions/install-deps
- uses: ./.github/actions/build-cache
- run: yarn build && yarn lerna run bundle --scope=auto
- run: yarn build
- run: yarn lerna run bundle --scope=auto
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.CANARY_NPM_TOKEN }}

pr-check:
runs-on: ubuntu-latest
needs: build
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v5
- uses: ./.github/actions/install-deps
- uses: ./.github/actions/build-cache
- uses: 8BitJonny/[email protected]
id: PR
- run: echo "$GITHUB_SERVER_URL/$GITHUB_REPOSITORY/actions/runs/$GITHUB_RUN_ID"
- run: yarn auto pr-check --pr $PR --url "$GITHUB_SERVER_URL/$GITHUB_REPOSITORY/actions/runs/$GITHUB_RUN_ID"
env:
PR: ${{ steps.PR.outputs.number }}
Expand All @@ -60,7 +61,7 @@ jobs:
runs-on: ubuntu-latest
needs: build
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v5
- uses: ./.github/actions/install-deps
- uses: ./.github/actions/build-cache
- run: yarn lint
Expand All @@ -69,36 +70,37 @@ jobs:
runs-on: ubuntu-latest
needs: build
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v5
- uses: ./.github/actions/install-deps
- uses: ./.github/actions/build-cache
- name: Prepare repository
run: git fetch --unshallow --tags
- run: yarn test:coverage
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Send CodeCov Results
run: bash <(curl -s https://codecov.io/bash) -t $CODECOV_KEY
- run: yarn test
# - run: yarn test:coverage
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# - name: Send CodeCov Results
# run: bash <(curl -s https://codecov.io/bash) -t $CODECOV_KEY

release:
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, 'ci skip') && !contains(github.event.head_commit.message, 'skip ci')"
# if: "!contains(github.event.head_commit.message, 'ci skip') && !contains(github.event.head_commit.message, 'skip ci')"
needs: build
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v5
- uses: 8BitJonny/[email protected]
id: PR
with:
filterOutClosed: true
sha: ${{ github.event.pull_request.head.sha }}
- uses: ./.github/actions/install-deps
- uses: ./.github/actions/build-cache
- run: git remote -v
- name: Prepare repository
run: git fetch --unshallow --tags
- name: Create Release
run: yarn auto shipit -vv
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ steps.PR.outputs.number && secrets.CANARY_NPM_TOKEN || secrets.NPM_TOKEN }}
PROTECTED_BRANCH_REVIEWER_TOKEN: ${{ secrets.GH_TOKEN }}
PR: ${{ steps.PR.outputs.number }}
12 changes: 6 additions & 6 deletions auto.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,13 @@ export default function rc(): AutoRc {
"./packages/cli/binary/auto-win.exe.gz",
],
],
["npm", npmOptions],
// ["npm", npmOptions],
"released",
"first-time-contributor",
"pr-body-labels",
"./scripts/auto-update-curl-version.js",
["all-contributors", allContributorsOptions],
["brew", brewOptions],
// "first-time-contributor",
// "pr-body-labels",
// "./scripts/auto-update-curl-version.js",
// ["all-contributors", allContributorsOptions],
// ["brew", brewOptions],
],
labels: [
{
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
},
"repository": {
"type": "git",
"url": "https://github.com/intuit/auto"
"url": "https://github.com/experian-marketing-services/auto-release-fork"
},
"files": [
"dist"
Expand Down
Loading