-
-
Notifications
You must be signed in to change notification settings - Fork 2k
Expand file tree
/
Copy pathaction.yml
More file actions
26 lines (22 loc) · 657 Bytes
/
action.yml
File metadata and controls
26 lines (22 loc) · 657 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
name: 'Setup Workspace'
description: 'Setup Node.js, install dependencies, and download build artifacts'
inputs:
node-version:
description: 'Node.js version to use'
default: '18'
runs:
using: 'composite'
steps:
- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6
with:
node-version: ${{ inputs.node-version }}
cache: 'npm'
- name: Install dependencies
run: npm ci
shell: bash
env:
NODE_OPTIONS: '--max-old-space-size=4096'
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8
with:
name: build-output
path: .