Skip to content

Merge pull request #525 from Avdan-OS/dependabot/npm_and_yarn/src/yam… #1028

Merge pull request #525 from Avdan-OS/dependabot/npm_and_yarn/src/yam…

Merge pull request #525 from Avdan-OS/dependabot/npm_and_yarn/src/yam… #1028

Workflow file for this run

name: NPM Dev site CI/CD
on:
push:
branches: ["dev"]
paths:
- "src/**"
pull_request:
branches: ["dev"]
paths:
- "src/**"
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: "src" # Here the path to the folder where package-lock.json is located.
strategy:
matrix:
node-version: [22.x] # [12.x, 14.x, 16.x]
steps:
- uses: actions/checkout@v4
with:
ref: dev
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm run build --if-present
# - run: npm test