rd-web/.github/workflows/npm.yml
ROSHAN GARG b050c15cec
Some checks are pending
NPM Installation / build (16.x, ubuntu-latest) (push) Waiting to run
NPM Installation / build (16.x, windows-latest) (push) Waiting to run
NPM Installation / build (17.x, ubuntu-latest) (push) Waiting to run
NPM Installation / build (17.x, windows-latest) (push) Waiting to run
NPM Installation / build (18.x, ubuntu-latest) (push) Waiting to run
NPM Installation / build (18.x, windows-latest) (push) Waiting to run
rd init
2024-09-13 10:19:04 +05:30

35 lines
641 B
YAML

name: NPM Installation
on:
push:
branches-ignore:
- "dependabot/**"
schedule:
- cron: '0 0 * * *'
env:
FORCE_COLOR: 2
NODE: 16
jobs:
build:
strategy:
matrix:
platform: [ubuntu-latest, windows-latest]
node-version: [16.x, 17.x, 18.x]
runs-on: ${{ matrix.platform }}
steps:
- name: Clone repository
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: ${{ env.node-version }}
- name: Install npm dependencies
run: npm install
- name: Run build
run: npm run build