Skip to content

Merge pull request #146 from MahesaDS2408/fix/url-telegram-group #391

Merge pull request #146 from MahesaDS2408/fix/url-telegram-group

Merge pull request #146 from MahesaDS2408/fix/url-telegram-group #391

Workflow file for this run

name: Check
on:
push:
branches: ["*"]
pull_request:
branches: ["*"]
jobs:
build:
name: Build
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v2.1.5
with:
node-version: 20.x
- name: Install pnpm
uses: pnpm/action-setup@v2
id: pnpm-install
with:
version: latest
run_install: false
- name: Get pnpm store directory
id: pnpm-cache
run: |
echo "::set-output name=pnpm_cache_dir::$(pnpm store path)"
- uses: actions/cache@v3
name: Setup pnpm cache
with:
path: ${{ steps.pnpm-cache.outputs.pnpm_cache_dir }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: Install dependencies
run: pnpm install
- name: ESLint check
run: pnpm lint
- name: Prettier check
run: npx prettier --check --ignore-path .gitignore .
- name: Build
run: pnpm build
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
with:
languages: javascript
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1