Skip to content

Commit

Permalink
fix: workflows (#61)
Browse files Browse the repository at this point in the history
  • Loading branch information
wootsbot authored Dec 20, 2023
1 parent 243f60f commit 30bb122
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/pull_request_stats.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,27 +42,27 @@ jobs:
turbo-${{ github.job }}-${{ github.ref_name }}-${{ steps.get-week.outputs.WEEK }}-
turbo-${{ github.job }}-canary-${{ steps.get-week.outputs.WEEK }}-
- name: 🔥 Setup pnpm
- name: Setup pnpm 🔥
run: |
corepack enable
corepack prepare pnpm@${PNPM_VERSION} --activate
- name: 📦 Install Dependencies
- name: Install Dependencies 📦
run: |
pnpm install --no-frozen-lockfile
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: 💣 build
- name: build 💣
run: pnpm turbo run build --cache-dir=".turbo"

- name: 💩 Tests
- name: Tests 💩
run: pnpm test:coverage

- name: bundlesize
run: pnpm turbo run bundlesize --cache-dir=".turbo"

- name: 💅 lint
- name: lint 💅
run: pnpm turbo run lint --cache-dir=".turbo"
16 changes: 8 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,30 +29,30 @@ jobs:
registry-url: https://registry.npmjs.org/
scope: "@design-blocks"

- name: 🔥 Setup pnpm
- name: Setup pnpm 🔥
run: |
corepack enable
corepack prepare pnpm@${PNPM_VERSION} --activate
- name: 📦 Install Dependencies
- name: Install Dependencies 📦
run: |
pnpm install --no-frozen-lockfile
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: 💣 build
run: pnpm turbo run build
- name: build 💣
run: pnpm turbo run build --cache-dir=".turbo"

- name: 💩 Tests
- name: Tests 💩
run: pnpm test:coverage

- name: bundlesize
run: pnpm turbo run bundlesize
run: pnpm turbo run bundlesize --cache-dir=".turbo"

- name: 💅 lint
run: pnpm turbo run lint
- name: lint 💅
run: pnpm turbo run lint --cache-dir=".turbo"

- name: Create Release Pull Request or Publish Design Blocks
id: changesets
Expand Down

0 comments on commit 30bb122

Please sign in to comment.