From 7101292755ff6ab7cf034fc44dee0cce63dfadcc Mon Sep 17 00:00:00 2001 From: Malachi Soord Date: Sun, 21 Apr 2024 10:28:51 +0200 Subject: [PATCH] Bump node add ci check --- .github/workflows/push.yml | 18 ++++++++++++++++++ .mise.toml | 2 +- 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 0296923..6121f43 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -46,3 +46,21 @@ jobs: run: composer install - name: PHP-CS-Fixer run: ./vendor/bin/php-cs-fixer fix + serverless-check: + steps: + - name: Checkout the repository + uses: actions/checkout@v4 + - 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 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'