From dc5f75555bae5a0b11d3e97bfc61f163d61127d2 Mon Sep 17 00:00:00 2001 From: Lillian Bitner Date: Mon, 29 Jan 2024 11:07:39 -0700 Subject: [PATCH] chore: revert chromatic flow changes --- .github/workflows/chromatic.yml | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/.github/workflows/chromatic.yml b/.github/workflows/chromatic.yml index 6448952..7891157 100644 --- a/.github/workflows/chromatic.yml +++ b/.github/workflows/chromatic.yml @@ -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