-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Bump node add ci check * Deps
- Loading branch information
Showing
2 changed files
with
26 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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/[email protected] | ||
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
[tools] | ||
node = '20.11.1' | ||
node = '20.12.2' |