-
Notifications
You must be signed in to change notification settings - Fork 13
50 lines (42 loc) · 1.09 KB
/
npm_build.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
39
40
41
42
43
44
45
46
47
48
49
name: NPM build test
on:
push:
tags:
- '*'
branches:
- '*'
pull_request:
branches: [main]
types: [opened]
jobs:
test:
strategy:
matrix:
deno-version: [ 1.45.x ]
module: [ core, jetstream, kv, obj, services ]
node-version: [22.x]
name: Build ${{matrix.module}} npm bundle
runs-on: ubuntu-latest-4-cores
environment: CI
steps:
- name: Git Checkout Deno Module
uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Use Deno Version ${{ matrix.deno-version }}
uses: denoland/setup-deno@v1
with:
deno-version: ${{ matrix.deno-version }}
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Build ${{matrix.module}} NPM Module
working-directory: ${{matrix.module}}
env:
TMPDIR: ${{ runner.temp }}
CI: true
NGS_CI_USER: ${{ secrets.NGS_CI_USER }}
run: |
npm ci
npm run prepack