Skip to content

Update actions/setup-node action to v4.1.0 #5204

Update actions/setup-node action to v4.1.0

Update actions/setup-node action to v4.1.0 #5204

Workflow file for this run

name: ASF-ui-ci
on: [push, pull_request]
env:
NODE_JS_VERSION: 'lts/*'
permissions: {}
jobs:
build:
strategy:
fail-fast: false
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout code
uses: actions/[email protected]
with:
show-progress: false
- name: Setup Node.js with npm
uses: actions/[email protected]
with:
check-latest: true
node-version: ${{ env.NODE_JS_VERSION }}
- name: Verify Node.js
run: node -v
- name: Verify npm
run: npm -v
- name: Install npm modules for ASF-ui
run: npm ci --no-progress
- name: Build ASF-ui
run: npm run-script deploy --no-progress
- name: Test ASF-ui dev environment
run: npm run-script serve:ci --no-progress
- name: Upload ASF-ui
uses: actions/[email protected]
with:
if-no-files-found: error
name: ${{ matrix.os }}_ASF-ui
path: dist