From c7a014cfbc5d6218697bc6b2bf415826b54cccc9 Mon Sep 17 00:00:00 2001 From: Carolina Date: Sun, 17 Mar 2024 16:01:47 +1300 Subject: [PATCH] Run compile for node v20 as well --- .github/workflows/compile.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/.github/workflows/compile.yml b/.github/workflows/compile.yml index c9c1a0b6..1ca71fb1 100644 --- a/.github/workflows/compile.yml +++ b/.github/workflows/compile.yml @@ -25,3 +25,21 @@ jobs: uses: icrawl/action-tsc@v1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + node20: + name: node v20 - tsc + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: install node v20 + uses: actions/setup-node@v3 + with: + node-version: 20 + cache: 'npm' + - name: dependencies + run: npm ci + - name: settings + run: cp settings.example.json settings.json + - name: tsc + uses: icrawl/action-tsc@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}