Skip to content

basic commands

basic commands #1

name: Compile Typescript
on:
push:
pull_request:
jobs:
compile-typescript:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Install node-canvas dependencies
run: sudo apt-get update && sudo apt-get install build-essential libcairo2-dev libpango1.0-dev -y
- name: Install Node v20
uses: actions/setup-node@v3
with:
node-version: '20.x'
- name: Install Node dependencies
run: npm install
- name: Check eslint
run: npm run eslint
- name: Compile Typescript
run: npm run build