Research: something is wrong with actions

This commit is contained in:
Thomas Quandalle
2022-06-21 17:25:28 +02:00
parent eae3a5f90a
commit 85bbb08c00
6 changed files with 32 additions and 0 deletions

32
.github/workflows-old/react.yml vendored Normal file
View File

@@ -0,0 +1,32 @@
# This workflow will do a clean install of node dependencies, 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
name: React
on:
push:
branches: [ develop, master ]
pull_request:
branches: [ develop, master ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x, 16.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- name: Yarn install
run: cd ui && yarn
- name: Yarn test
run: cd ui && yarn test --passWithNoTests
- name: Yarn build
run: cd ui && yarn build