Skip to content

Commit

Permalink
⚙️ fix(internal): remove provenance (#2285)
Browse files Browse the repository at this point in the history
The `--provenance` experiment did not turn out great. We'll try again when there is official support for yarn.

## References
- #2230

## Type of change

**PATCH: backwards compatible change**
  • Loading branch information
kellymears authored May 22, 2023
1 parent b64c725 commit 9c6704f
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 31 deletions.
34 changes: 13 additions & 21 deletions .github/workflows/release-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,44 +11,36 @@ jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Setup
uses: actions/setup-node@v3
- uses: actions/setup-node@v3
with:
node-version: 18.12.1
node-version: 18.x
cache: yarn

- name: yarn
run: yarn
- run: yarn

- name: set npmAuthToken
run: |
- run: |
yarn config set npmAuthToken ${{ secrets.NODE_AUTH_TOKEN }}
- name: Release v${{ github.event.inputs.version }}
run: yarn @bud release --tag latest --version ${{ github.event.inputs.version }} --registry https://registry.npmjs.org
- run: |
yarn @bud release --tag latest --version ${{ github.event.inputs.version }} --registry https://registry.npmjs.org
- name: Reset npmAuthToken
run: yarn config set npmAuthToken "${NPM_AUTH_TOKEN:-fallback}"
- run: |
yarn config set npmAuthToken "${NPM_AUTH_TOKEN:-fallback}"
- name: Configure Git
run: |
- run: |
git config user.name "Roots Ladybud"
git config user.email "<>"
- name: Create v${{ github.event.inputs.version }} branch
run: git checkout -b v${{ github.event.inputs.version }}
- run: git checkout -b v${{ github.event.inputs.version }}

- name: Commit v${{ github.event.inputs.version }}
run: |
- run: |
git commit -am "chore: Bump @roots/bud to v${{ github.event.inputs.version }}"
git push -u origin v${{ github.event.inputs.version }}
- name: Tag v${{ github.event.inputs.version }}
run: |
- run: |
git tag v${{ github.event.inputs.version }}
git push --tags
4 changes: 0 additions & 4 deletions .github/workflows/release-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,6 @@ jobs:
release:
runs-on: ubuntu-latest

permissions:
contents: read
id-token: write

steps:
- uses: actions/checkout@v3
with:
Expand Down
Loading

0 comments on commit 9c6704f

Please sign in to comment.