Skip to content

Merge pull request #327 from gotoeveryone/dependabot/npm_and_yarn/pos… #704

Merge pull request #327 from gotoeveryone/dependabot/npm_and_yarn/pos…

Merge pull request #327 from gotoeveryone/dependabot/npm_and_yarn/pos… #704

Workflow file for this run

name: CI
on:
push:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: "18.16"
cache: "npm"
cache-dependency-path: package-lock.json
- name: Install dependencies
run: npm ci
- name: Run lint
run: |
cp .env.example .env
npm run lint
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: "18.16"
cache: "npm"
cache-dependency-path: package-lock.json
- name: Install dependencies
run: npm ci
- name: Run test
run: |
cp .env.example .env
npm test