Skip to content
Merged
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
7 changes: 5 additions & 2 deletions .github/actions/cache-dir/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ inputs:
paths:
description: Paths to cache
required: false
default: "**/.cache"
default: |
.cache
**/.cache

runs:
using: composite
Expand All @@ -21,7 +23,8 @@ runs:
- uses: actions/cache@v4
id: cache
with:
path: ${{ inputs.paths }}
path: |
${{ inputs.paths }}
key: ${{ runner.os }}-cache-${{ inputs.key }}-${{ hashFiles('**/yarn.lock') }}-${{ steps.cache-time.outputs.time }}
restore-keys: |
${{ runner.os }}-cache-${{ inputs.key }}-${{ hashFiles('**/yarn.lock') }}-
4 changes: 3 additions & 1 deletion .github/actions/node-setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ runs:
# https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "dir=$(yarn config get cacheFolder)" >> $GITHUB_OUTPUT
run: |
corepack enable
echo "dir=$(yarn config get cacheFolder)" >> $GITHUB_OUTPUT
shell: bash

- uses: actions/cache@v4
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/fast-forward.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,12 @@ jobs:

runs-on: ubuntu-latest

permissions: write-all
permissions:
contents: write
issues: write
pull-requests: write
packages: write
statuses: write

steps:
- name: Checkout Repo
Expand Down
7 changes: 3 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"examples/*"
],
"scripts": {
"task": "turbo run --cache-dir .cache/turbo",
"task": "yarn turbo run --cache-dir .cache/turbo",
"clean": "yarn g:clean && yarn task clean",
"build": "yarn task build",
"build:type": "yarn tsc --build",
Expand All @@ -26,9 +26,8 @@
"coverage": "yarn task coverage",
"coverage:all": "yarn task coverage:all",
"forallpackages": "yarn workspaces foreach -Aptv --no-private --verbose",
"build:release": "yarn build && yarn forallpackages exec rimraf _release && yarn forallpackages pack && yarn forallpackages exec \"mkdir _release && tar zxvf package.tgz --directory _release && rm package.tgz\"",
"changeset": "changeset",
"changeset:version": "changeset version",
"build:release": "PACKAGE_PUBLISH=true yarn build && yarn forallpackages exec \"rimraf _release && pack && mkdir _release && tar zxvf package.tgz --directory _release && rm package.tgz\"",
"changeset:version": "yarn changeset version",
"publish": "yarn build:release && changeset publish",
"g:clean": "cd $INIT_CWD && yarn run -T rimraf .cache _release dist coverage .turbo tsconfig.tsbuildinfo node_modules/.vite",
"g:build": "cd $INIT_CWD && yarn run -T vite build",
Expand Down
Loading