-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (30 loc) · 889 Bytes
/
install.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# The workflow to install the package
name: Install
# Controls when the workflow will run
on:
workflow_run:
workflows: [ "Production" ]
types:
- completed
jobs:
install:
# The matrix of OS and Node.js versions
strategy:
matrix:
os: [ ubuntu-latest, macos-latest, windows-latest ]
node: [ 18, 20, 'current' ]
# The type of runner that the job will run on
runs-on: ${{ matrix.os }}
steps:
- name: "Use specified Node.js version"
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- name: "Print version"
run: node -v && npm -v
- name: "Init default package manager config"
run: npm init -y
- name: "Install the package"
run: npm install @sapkotamadan/nrb-forex
- name: "List installed packages"
run: npm list --depth=0