Skip to content

Update src/api/model/message.ts #22

Update src/api/model/message.ts

Update src/api/model/message.ts #22

Workflow file for this run

name: lint
on:
push:
branches:
- '*'
pull_request:
branches:
- '*'
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node
uses: actions/[email protected]
with:
node-version: 18.x
- name: Get npm cache directory
id: npm-cache
run: |
echo "::set-output name=dir::$(npm config get cache)"
- name: Setup npm cache
uses: actions/cache@v4
with:
path: ${{ steps.npm-cache.outputs.dir }}
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Install Dependencies
run: npm ci || npm install
env:
PUPPETEER_SKIP_DOWNLOAD: true
- name: Lint source
run: npm run lint