ci(*): fixed package actions, deno version #71
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |