-
Notifications
You must be signed in to change notification settings - Fork 215
Expand file tree
/
Copy pathaction.yml
More file actions
29 lines (25 loc) · 918 Bytes
/
action.yml
File metadata and controls
29 lines (25 loc) · 918 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
27
28
29
name: setup_ubuntu
inputs:
cwd:
required: false
default: ${{ github.workspace }}
description: "Setup Ubuntu Machine"
runs:
using: composite
steps:
- name: Install Dependencies
working-directory: ${{ inputs.cwd }}
run: |-
# Install node dependencies
node ./scripts/gtime.js monorepo_install npm ci
# Build the PWA
# npm run lerna -- run analyze-build --scope "@salesforce/retail-react-app"
# Report bundle sizes
# node ./scripts/report-bundle-size.js
# Install Snyk CLI
# TODO: Ticket W-12425059. Revisit Snyk CLI integration to monitor manifest files on generated projects.
# TODO: Latest Snyk CLI version is currently failing on npm i. We use the alternative Snyk GitHub integration.
# sudo npm install -g snyk
# Install Lighthouse CI CLI
sudo npm install -g @lhci/cli
shell: bash