Skip to content

chore(node, python): update versions support for Python & node.js, update python dependencies #1501

chore(node, python): update versions support for Python & node.js, update python dependencies

chore(node, python): update versions support for Python & node.js, update python dependencies #1501

name: cloudflare-worker
on:
push:
branches:
- main
pull_request:
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: packages/cloudflare-worker
strategy:
fail-fast: false
matrix:
node-version:
- 18
- 20
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- run: npm ci --ignore-scripts
- run: npm run build
- run: npm test
# This is being run separately since it's not playing nicely with Node 14.
# Once we drop Node 14 support we can probably consolidate this again.
lint:
runs-on: ubuntu-latest
defaults:
run:
working-directory: packages/cloudflare-worker
steps:
- uses: actions/checkout@v4
- run: npm ci --ignore-scripts
- run: npm run lint