Skip to content

chore(care): npm audit fix #1134

chore(care): npm audit fix

chore(care): npm audit fix #1134

Workflow file for this run

# This workflow will do a clean install of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: CI
on:
push:
pull_request:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
LAMBDA_USER: ${{ secrets.LAMBDA_USER }}
LAMBDA_KEY: ${{ secrets.LAMBDA_KEY }}
jobs:
install:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 20.x
cache: "npm"
- name: NPM install
run: npm ci
lint:
needs: install
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 20.x
cache: "npm"
- name: NPM install
run: npm ci
- name: Run lint
run: npm run lint --if-present
build:
needs: install
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 20.x
cache: "npm"
- name: NPM install
run: npm ci
- name: Run Build
run: npm run build --if-present
- name: run test
run: npm run test:unit:ci
e2e:
needs: install
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 20.x
cache: "npm"
- name: NPM install
run: npm ci
- name: Run E2E
run: npm run test:e2e