ci: deduplicate language setup (#7753)

* Deduplicate actions

* Split up go-race and go-pg
This commit is contained in:
Ammar Bandukwala
2023-06-01 03:20:49 -05:00
committed by GitHub
parent 80269ba1b9
commit 555ea64669
4 changed files with 58 additions and 193 deletions
+15
View File
@@ -0,0 +1,15 @@
name: "Setup Node"
description: |
Sets up the node environment for tests, builds, etc.
runs:
using: "composite"
steps:
- uses: buildjet/setup-node@v3
with:
node-version: 16.16.0
# See https://github.com/actions/setup-node#caching-global-packages-data
cache: "yarn"
cache-dependency-path: "site/yarn.lock"
- name: Install node_modules
shell: bash
run: ./scripts/yarn_install.sh