Skip to content

chore(deps): update dependency node to v20.17.0 #931

chore(deps): update dependency node to v20.17.0

chore(deps): update dependency node to v20.17.0 #931

Workflow file for this run

name: CI
on:
push:
branches: [$default-branch]
pull_request:
branches: ['**']
jobs:
build:
runs-on: ubuntu-latest
container:
image: node:20.17.0
# this is the user that CI uses, which is needed to generate files within the repo directory
options: --user 1001
steps:
- name: Check out code
uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 20
cache: 'npm'
registry-url: 'https://registry.npmjs.org'
- name: Install dependencies
run: npm ci
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Build
run: npm run build
- name: Test
run: npm run test -- --ci --maxWorkers=1 --reporters=default
- name: Check Serverless
run: npx serverless package --verbose --stage dev