2021-10-10 09:23:35 +02:00
# This workflow will do a clean install of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
2021-12-12 09:45:54 +01:00
name : Integration
2021-10-10 09:23:35 +02:00
on :
push :
branches : [ main ]
pull_request :
branches : [ main ]
jobs :
build :
runs-on : ubuntu-latest
strategy :
matrix :
2024-03-10 14:12:25 +01:00
node-version : [ 20. x]
2021-10-10 09:23:35 +02:00
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
steps :
2022-07-11 20:58:57 +02:00
-
name : Checkout
2024-03-11 09:54:09 +01:00
uses : actions/checkout@v4
2024-04-22 19:55:25 +02:00
-
name : pnpm setup
uses : pnpm/action-setup@v3
with :
version : 8
2022-07-11 20:58:57 +02:00
-
name : Use Node.js ${{ matrix.node-version }}
2024-03-11 09:54:09 +01:00
uses : actions/setup-node@v4
2021-10-10 09:23:35 +02:00
with :
node-version : ${{ matrix.node-version }}
2024-04-22 19:55:25 +02:00
cache : 'pnpm'
2022-07-11 20:58:57 +02:00
-
name : install dependencies
2024-04-22 19:55:25 +02:00
run : pnpm install --frozen-lockfile
2022-07-11 20:58:57 +02:00
-
name : Check code style & potentential issues
2024-04-22 19:55:25 +02:00
run : pnpm lint