From d9c10a20c8adf7ccbefa473d22501db6dc28656c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A1rton=20Polg=C3=A1r?= <37218286+2colours@users.noreply.github.com> Date: Tue, 2 Apr 2024 12:02:26 +0200 Subject: [PATCH] Add code checker job --- .github/workflows/main.yml | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index d38870a..736a4f7 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -5,7 +5,7 @@ on: branches: - 'debug' jobs: - deploy: + - deploy: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 @@ -28,3 +28,18 @@ jobs: # Contents of SSH known_hosts file known_hosts: | vps.contabo ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQC89CXXwoQmHZBJXMLAl9GPrQaGuF2PQ2tfTTqiPIvelxbAG3QJ+biXkSObrCE/At6hfAsNUMpzZw8MGwFM1VRempk+Hxpqbzevexb4HtX1Cv1tGRU5KbwbMhyewUAlyr6YQkLfTe4W9vphbJNIcmejDZVyPDH4n60i674duNgexwrbrC33GZkR07QgcSLy4wv8nSGdN5JRJ0hvC12LbXUIWKJYIyGjnziIONhQNSV/C8S53S78dALFwK04+qmNqdsgM6ML9gT7x0iapdCaG8NESqhvtjICC857Xbb+KJMkQbjPdP1XpBILqYP8vRLYnL4QOfkZh7kIEIR+JrFA9lZRmvbQtH2U+LSCsrTA7RNevPb3m1rvdAqOvxWQqRTzbQTb7SapZTWd0XX/hL2HBvCyOHisit9YPD4ksCyux+MrS9KyDiFxjONZGu4fLib+yC6sW9NiTDDWNfxglsjWL7gFUCQlvH2myBtEaFom1F2jHSHRaYRXOxyBotE1LRRHdd8qhQ9z5ZTVGaPoKWO8iVm5tbfyClBZrE+Vas9QRWlSq+sY4aI1JeuDIMyZgmZCabEDdShZe6gEZMRnYB8xZQw5m+d70anUjnSMNQAI2l9Hbl7M30nSmnuk7p8wyZ4LRiYoF7DYIyVv+/BqftVf6j2Sse4syRIV3qDzGeiiq+XBSQ== + - code-check: + steps: + - name: Clone repo + uses: actions/checkout@v4 + + - name: Set up node + uses: actions/setup-node@v4 + with: + node-version: '20' + + - name: Install dependencies + run: npm install + + - name: Checking Typescript code + run: tsc --noemit