Skip to content

chore(deps): bump nanoid from 3.3.7 to 3.3.8 in /packages/functions-runtime #3902

chore(deps): bump nanoid from 3.3.7 to 3.3.8 in /packages/functions-runtime

chore(deps): bump nanoid from 3.3.7 to 3.3.8 in /packages/functions-runtime #3902

name: Test NPM packages
on: [pull_request]
jobs:
test-functions-runtime:
runs-on: ubuntu-latest
services:
postgres:
image: postgres:11.13-alpine
env:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: functions-runtime
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports:
- 7654:5432
steps:
- uses: actions/setup-node@v3
with:
node-version: 22.11
- uses: pnpm/action-setup@v4
with:
version: 9.12.3
- uses: actions/checkout@v4
- name: Install deps
working-directory: ./packages/functions-runtime
run: pnpm install --frozen-lockfile
- name: Run tests
working-directory: ./packages/functions-runtime
run: pnpm run test
test-testing-runtime:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-node@v3
with:
node-version: 22.11
- uses: pnpm/action-setup@v4
with:
version: 9.12.3
- uses: actions/checkout@v4
- name: Install deps
working-directory: ./packages/testing-runtime
run: pnpm install --frozen-lockfile
- name: Run tests
working-directory: ./packages/testing-runtime
run: pnpm run test
test-wasm:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-node@v3
with:
node-version: 20.16 # vscode (electron) uses this so we want to make the tests use a comparable environment https://github.com/microsoft/vscode/blob/main/package.json#L157 - https://www.electronjs.org/blog/electron-32-0
- uses: pnpm/action-setup@v4
with:
version: 9.12.3
- name: Setup golang
uses: actions/setup-go@v3
with:
go-version: "1.23"
- uses: actions/checkout@v4
- name: Install Go deps
run: go mod download
- name: Generate wasm binary
run: make wasm
- name: Install package deps
working-directory: ./packages/wasm
run: pnpm install --frozen-lockfile
- name: Run tests
working-directory: ./packages/wasm
run: pnpm run test