2021-10-06 22:16:58 +02:00
|
|
|
name: PR -> Build & Lint
|
2021-03-04 14:27:43 +01:00
|
|
|
|
|
|
|
on:
|
|
|
|
pull_request:
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
strategy:
|
|
|
|
matrix:
|
2023-04-18 10:35:32 +02:00
|
|
|
node-version: [18.x]
|
2021-03-04 14:27:43 +01:00
|
|
|
steps:
|
2022-04-06 21:43:00 +02:00
|
|
|
- uses: actions/checkout@v3
|
2021-03-04 14:27:43 +01:00
|
|
|
- name: Use Node.js ${{ matrix.node-version }}
|
2022-04-06 21:43:29 +02:00
|
|
|
uses: actions/setup-node@v3
|
2021-03-04 14:27:43 +01:00
|
|
|
with:
|
|
|
|
node-version: ${{ matrix.node-version }}
|
2022-06-09 14:26:35 +02:00
|
|
|
cache: 'yarn'
|
2022-08-26 09:25:31 +02:00
|
|
|
- run: yarn install --frozen-lockfile --ignore-scripts
|
2021-03-04 14:27:43 +01:00
|
|
|
- run: yarn lint
|
2021-10-06 22:16:58 +02:00
|
|
|
- run: yarn build
|
2023-03-15 13:17:32 +01:00
|
|
|
#- run: yarn build:frontend # not needed
|