From 260e4a1dc76d44d306905a07bb1e0430666affea Mon Sep 17 00:00:00 2001 From: Malachi Soord Date: Sun, 21 Apr 2024 10:33:16 +0200 Subject: [PATCH] Bump node add ci check (#119) * Bump node add ci check * Deps --- .github/workflows/push.yml | 25 +++++++++++++++++++++++++ .mise.toml | 2 +- 2 files changed, 26 insertions(+), 1 deletion(-) diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 0296923..c326145 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -46,3 +46,28 @@ jobs: run: composer install - name: PHP-CS-Fixer run: ./vendor/bin/php-cs-fixer fix + serverless-check: + runs-on: ubuntu-latest + steps: + - name: Checkout the repository + uses: actions/checkout@v4 + - name: Install PHP + uses: shivammathur/setup-php@v2 + with: + php-version: '8.3' + - name: Install PHP dependencies + run: composer install + - name: Get Node version from .mise.toml + uses: SebRollen/toml-action@v1.0.2 + id: get-node-version + with: + file: .mise.toml + field: tools.node + - name: Setup Node.js + uses: actions/setup-node@v3 + with: + node-version: '${{ steps.get-node-version.outputs.value }}' + - name: Install Node.js dependencies + run: npm ci + - name: Check serverless.yml + run: npx serverless print diff --git a/.mise.toml b/.mise.toml index 5e42f01..cfd7100 100644 --- a/.mise.toml +++ b/.mise.toml @@ -1,2 +1,2 @@ [tools] -node = '20.11.1' +node = '20.12.2'