Skip to content

chore: opt into node 24 for github actions to fix deprecation warning #5

chore: opt into node 24 for github actions to fix deprecation warning

chore: opt into node 24 for github actions to fix deprecation warning #5

Workflow file for this run

name: CI and Codecov
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
test:
runs-on: ubuntu-latest
env:
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
- name: Install dependencies
run: npm ci
- name: Run tests with coverage
run: npm run test:coverage
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
slug: swapwarick/agent-diaries-sdk