-
-
Notifications
You must be signed in to change notification settings - Fork 77
29 lines (27 loc) · 707 Bytes
/
workflow1.yml
File metadata and controls
29 lines (27 loc) · 707 Bytes
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
name: Node.js CI2
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-22.04
strategy:
matrix:
node-version: [16.x, 18.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- run: npm install -g pnpm@6
- uses: actions/cache@v2
with:
path: ~/.pnpm-store
key: ${{ runner.os }}-pnpm-store
- run: sudo apt-get install libocct-data-exchange-dev libocct-modeling-data-dev
- run: npm install -g pnpm@6
- run: pnpm recursive install
- run: pnpm test