]>
Commit | Line | Data |
---|---|---|
a25e1b1a BW |
1 | # 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 |
2 | # For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions | |
3 | ||
e6ba84d3 | 4 | name: Integration |
a25e1b1a BW |
5 | |
6 | on: | |
7 | push: | |
8 | branches: [ main ] | |
9 | pull_request: | |
10 | branches: [ main ] | |
11 | ||
12 | jobs: | |
13 | build: | |
14 | ||
15 | runs-on: ubuntu-latest | |
16 | ||
17 | strategy: | |
18 | matrix: | |
f2f03eb3 | 19 | node-version: [20.x] |
a25e1b1a BW |
20 | # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ |
21 | ||
22 | steps: | |
4b639b1c BW |
23 | - |
24 | name: Checkout | |
bcebb3e6 | 25 | uses: actions/checkout@v4 |
4b639b1c BW |
26 | - |
27 | name: Use Node.js ${{ matrix.node-version }} | |
bcebb3e6 | 28 | uses: actions/setup-node@v4 |
a25e1b1a BW |
29 | with: |
30 | node-version: ${{ matrix.node-version }} | |
31 | cache: 'yarn' | |
4b639b1c BW |
32 | - |
33 | name: install dependencies | |
bcebb3e6 | 34 | run: yarn install --frozen-lockfile --non-interactive |
4b639b1c BW |
35 | - |
36 | name: Check code style & potentential issues | |
37 | run: yarn lint | |
a25e1b1a | 38 |