Skip to content

Update push-snapshot.yml #34

Update push-snapshot.yml

Update push-snapshot.yml #34

Workflow file for this run

# ========================================================================== #
# Copyright (C) 2023 HCL America Inc. #
# Apache-2.0 license https://www.apache.org/licenses/LICENSE-2.0 #
# ========================================================================== #
name: Run test for a PR
on:
workflow_dispatch:
pull_request:
jobs:
build:
name: PR preflight check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20.x'
registry-url: 'https://registry.npmjs.org'
- run: npm ci
- run: npm run build
- run: npm run test