aboutsummaryrefslogtreecommitdiffstats
path: root/tooling/github
diff options
context:
space:
mode:
Diffstat (limited to 'tooling/github')
-rw-r--r--tooling/github/package.json3
-rw-r--r--tooling/github/setup/action.yml19
2 files changed, 22 insertions, 0 deletions
diff --git a/tooling/github/package.json b/tooling/github/package.json
new file mode 100644
index 00000000..42e5fc74
--- /dev/null
+++ b/tooling/github/package.json
@@ -0,0 +1,3 @@
+{
+ "name": "@hoarder/github"
+}
diff --git a/tooling/github/setup/action.yml b/tooling/github/setup/action.yml
new file mode 100644
index 00000000..9a8ff513
--- /dev/null
+++ b/tooling/github/setup/action.yml
@@ -0,0 +1,19 @@
+name: "Setup and install"
+description: "Common setup steps for Actions"
+
+runs:
+ using: composite
+ steps:
+ - uses: pnpm/action-setup@v2
+ - uses: actions/setup-node@v4
+ with:
+ node-version: 21
+ cache: "pnpm"
+
+ - shell: bash
+ run: pnpm add -g turbo
+
+ - shell: bash
+ run: pnpm install
+ env:
+ PUPPETEER_SKIP_DOWNLOAD: "true"