Skip to content

Bump express from 4.19.2 to 4.20.0 in the npm_and_yarn group across 1 directory #34

Bump express from 4.19.2 to 4.20.0 in the npm_and_yarn group across 1 directory

Bump express from 4.19.2 to 4.20.0 in the npm_and_yarn group across 1 directory #34

Workflow file for this run

name: CI
on: [pull_request]
jobs:
lint:
runs-on: ubuntu-latest
env:
JWT_SECRET_KEY: "secret-key"
steps:
- name: Checkout to repo
uses: actions/checkout@v4
- name: Setup nodejs
uses: actions/setup-node@v4
with:
node-version: 'v20.12.2'
- name: Corepack enable
run: corepack enable
- name: Check yarn version
run: yarn -v
- name: Install deps
run: yarn
- name: Run lint
run: yarn lint
tests:
runs-on: ubuntu-latest
steps:
- name: Checkout to repo
uses: actions/checkout@v4
- name: Setup nodejs
uses: actions/setup-node@v4
with:
node-version: 'v20.12.2'
- name: Corepack enable
run: corepack enable
- name: Check yarn version
run: yarn -v
- name: Install deps
run: yarn
- name: Create .env.test file
run: |
echo "JWT_SECRET_KEY=your_test_secret_key" > .env.test
- name: Run test
run: yarn test