Skip to content

Install

Install #9

Workflow file for this run

# The workflow to install the package
name: Install
# Controls when the workflow will run
on:
workflow_run:
workflows: [ "Publish" ]
types:
- completed
jobs:
install:
# Run on multiple operating systems and Node.js versions
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-20.04, ubuntu-22.04, ubuntu-24.04, windows-latest, macos-latest ]
node-version: [18, 20, 22]
fail-fast: false
steps:
# Checkout the repository
- uses: actions/checkout@v4
# Set up Node.js with the specified version
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Generate package.json file
run: cd html && npm init -y
- name: Install Nepali Date Converter
run: cd html && npm install @remotemerge/nepali-date-converter
- name: List installed packages
run: cd html && npm list --depth=0