chore(deps): bump logform from 2.6.1 to 2.7.0 #747
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Lint test & build | |
on: | |
push: | |
branches: | |
- '**' | |
pull_request: | |
branches: | |
- '**' | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
container: | |
image: cimg/node:18.19.0 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup node | |
uses: actions/setup-node@v4 | |
with: | |
node-version-file: '.nvmrc' | |
cache: 'npm' | |
- name: Install dependencies | |
shell: sh | |
run: npm ci | |
- name: Run linter | |
run: npm run lint | |
test: | |
runs-on: ubuntu-latest | |
container: | |
image: cimg/node:18.19.0 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup node | |
uses: actions/setup-node@v4 | |
with: | |
node-version-file: '.nvmrc' | |
cache: 'npm' | |
- name: Install dependencies | |
shell: sh | |
run: npm ci | |
- name: Run tests | |
run: npm run test | |
build: | |
runs-on: ubuntu-latest | |
container: | |
image: cimg/node:18.19.0 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup node | |
uses: actions/setup-node@v4 | |
with: | |
node-version-file: '.nvmrc' | |
cache: 'npm' | |
- name: Install dependencies | |
shell: sh | |
run: npm ci | |
- name: Build project | |
run: npm run build |