forked from jonasmerlin/rollenspiel-nordwest-bot
Add GitHub Actions workflow for code check and TypeScript build
Code Check / check (push) Successful in 14s
Code Check / check (push) Successful in 14s
This commit is contained in:
@@ -0,0 +1,25 @@
|
|||||||
|
name: Code Check
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
pull_request:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
check:
|
||||||
|
runs-on: docker
|
||||||
|
container:
|
||||||
|
image: node:20
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Checkout code
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: Install dependencies
|
||||||
|
run: npm ci
|
||||||
|
|
||||||
|
- name: Build TypeScript
|
||||||
|
run: npm run build
|
||||||
Reference in New Issue
Block a user