Skip to content

Commit

Permalink
chore: revert chromatic flow changes
Browse files Browse the repository at this point in the history
  • Loading branch information
lilbitner committed Jan 29, 2024
1 parent a2c299e commit dc5f755
Showing 1 changed file with 0 additions and 24 deletions.
24 changes: 0 additions & 24 deletions .github/workflows/chromatic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,33 +13,9 @@ jobs:
runs-on: ubuntu-latest
# Job steps
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: "Retrieve NPM Token"
id: vault
uses: hashicorp/vault-action@v2.4.3
with:
url: ${{ secrets.VAULT_URL }}
role: ${{ github.event.repository.name }}-github-action
method: jwt
path: github-actions
exportEnv: false
secrets: |
secret/data/github/github_packages_read GITHUB_PACKAGES_READ_TOKEN | GITHUB_PACKAGES_READ_TOKEN
- name: "Create GH .npmrc"
shell: bash
run: |
echo -e "//npm.pkg.github.com/:_authToken=${GITHUB_TOKEN}\n@contentful:registry=https://npm.pkg.github.com\nalways-auth=true" > ~/.npmrc
env:
GITHUB_TOKEN: ${{ steps.vault.outputs.GITHUB_PACKAGES_READ_TOKEN }}
- name: Install dependencies
run: npm install
env:
GITHUB_TOKEN: ${{ steps.vault.outputs.GITHUB_PACKAGES_READ_TOKEN }}
# 👇 Adds Chromatic as a step in the workflow
- name: Publish to Chromatic
uses: chromaui/action@v1
Expand Down

0 comments on commit dc5f755

Please sign in to comment.