Skip to content

Commit

Permalink
chore(cb2-8502): update to node 18 (#21)
Browse files Browse the repository at this point in the history
* chore(cb2-8502): update to node 18

* chore(cb2-8502): readme
  • Loading branch information
gjulien-bjss authored Aug 9, 2023
1 parent 51399fc commit 37a01d8
Show file tree
Hide file tree
Showing 8 changed files with 6,298 additions and 6,317 deletions.
46 changes: 46 additions & 0 deletions .github/workflows/pr-checks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions

name: PR-checks

on:
push:
branches: ['develop']
pull_request:
branches: ['develop']

jobs:
build-test:
runs-on: ubuntu-latest
timeout-minutes: 15

strategy:
fail-fast: false
matrix:
node-version: [18.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
- uses: actions/checkout@v3
- name: Setup Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: Install dependencies
run: npm ci

- name: Unit tests
run: npm run test

- name: Build
run: npm run build

- name: Setup local dynamo
run: npm run tools-setup

- name: Integration tests
run: npm run test-i

- name: Run lint
run: npm run lint:ci
19 changes: 0 additions & 19 deletions .github/workflows/test.yaml

This file was deleted.

2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
14.*
18.*

4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ A typescript lambda function that takes an S3 bucket event, processes the file t

## Requirements

- node v14
- npm v8
- node v18
- npm v9
- aws cli v2

## Prerequisites
Expand Down
Loading

0 comments on commit 37a01d8

Please sign in to comment.