Skip to content
Open
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
8 changes: 0 additions & 8 deletions .github/actions/setup/action.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,6 @@
name: Setup
description: Setup Node.js and install dependencies

inputs:
restore-turbo-cache:
description: 'Whether to restore the Turbo cache'
required: false
default: 'true'

runs:
using: composite
steps:
Expand All @@ -25,7 +19,6 @@ runs:
shell: bash

- name: Restore Turbo cache
if: inputs.restore-turbo-cache == 'true'
uses: actions/cache@9255dc7a253b0ccc959486e2bca901246202afeb # v5
with:
path: |
Expand All @@ -35,4 +28,3 @@ runs:
key: ${{ runner.os }}-turbo-${{ hashFiles('yarn.lock', 'package-lock.json', 'pnpm-lock.yaml', 'turbo.json', 'apps/*/turbo.json', 'packages/*/turbo.json') }}
restore-keys: |
${{ runner.os }}-turbo-

13 changes: 11 additions & 2 deletions .github/workflows/deploy-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,17 @@ jobs:
- name: Checkout
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6

- name: Setup
uses: ./.github/actions/setup
- name: Setup Node.js
uses: actions/setup-node@65d868f8d4d85d7d4abb7de0875cde3fcc8798f5 # v6
with:
node-version: 'lts/*'
package-manager-cache: false # disable caching

- name: Install dependencies
run: yarn install

- name: Build
run: yarn build

- name: Setup Pages
uses: actions/configure-pages@d5606572c479bee637007364c6b4800ac4fc8573 # v5
Expand Down
9 changes: 6 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,14 @@ jobs:
- name: Checkout
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6

- name: Setup
uses: ./.github/actions/setup
- name: Setup Node.js
uses: actions/setup-node@65d868f8d4d85d7d4abb7de0875cde3fcc8798f5 # v6
with:
restore-turbo-cache: 'false' # in release workflow, build from scratch
node-version: 'lts/*'
package-manager-cache: false # disable caching

- name: Install dependencies
run: yarn install

- name: Build
run: yarn build
Expand Down
Loading