mirror of
https://github.com/coder/coder.git
synced 2026-06-07 06:58:17 +00:00
ci: deduplicate language setup (#7753)
* Deduplicate actions * Split up go-race and go-pg
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user