Skip to content

Update src/api/controllers/token.controller.js #63

Update src/api/controllers/token.controller.js

Update src/api/controllers/token.controller.js #63

Workflow file for this run

name: CI
on: [push]
jobs:
ci:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Use Node.js 18.x
uses: actions/setup-node@v3
with:
node-version: 18.x
- name: Cache npm
uses: actions/cache@v3
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: ${{ runner.os }}-node-
- name: Install packages
run: npm ci
- name: Run lint
run: npm run lint
- name: Run tests
run: npm run test:cov
env:
CI: "true"
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3