Skip to content

Update docs and build script to use node20 #12

Update docs and build script to use node20

Update docs and build script to use node20 #12

Workflow file for this run

name: Test logtail-lambda-extension
on: [push, workflow_dispatch]
jobs:
test:
runs-on: ubuntu-22.04
name: Test
steps:
- name: Checkout from repository
uses: actions/checkout@v4
- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
version: 8
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 20
- name: Cache node_modules
uses: actions/cache@v4
id: cache-nodemodules
with:
path: node_modules
key: ${{ runner.os }}-${{ env.NODE_VERSION }}-nodemodules-${{ hashFiles('**/pnpm-lock.yaml') }}
- name: Install requirements
if: steps.cache-nodemodules.outputs.cache-hit != 'true'
run: pnpm install
- name: Validate
run: pnpm run validate