Skip to content

Commit 98259dc

Browse files
authored
Merge branch 'main' into dependabot/npm_and_yarn/terser-4.8.1
2 parents e07991d + 6d2eae5 commit 98259dc

File tree

4 files changed

+123
-2416
lines changed

4 files changed

+123
-2416
lines changed

.github/workflows/ci.yaml

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
name: CI
2+
on:
3+
pull_request:
4+
push:
5+
branches:
6+
- main
7+
- release*
8+
9+
jobs:
10+
lint:
11+
name: Lint
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: Checkout
15+
uses: actions/checkout@v3
16+
- name: Setup Node.js
17+
uses: actions/setup-node@v3
18+
with:
19+
node-version: lts/*
20+
- name: Install dependencies
21+
run: npm install --legacy-peer-deps # TODO remove --legacy-peer-deps after https://github.com/patternfly/patternfly-react-seed/issues/134 is fixed
22+
- name: Run eslint
23+
run: npm run lint
24+
test:
25+
name: Test
26+
runs-on: ubuntu-latest
27+
steps:
28+
- name: Checkout
29+
uses: actions/checkout@v3
30+
- name: Setup Node.js
31+
uses: actions/setup-node@v3
32+
with:
33+
node-version: lts/*
34+
- name: Install dependencies
35+
run: npm install --legacy-peer-deps # TODO remove --legacy-peer-deps after https://github.com/patternfly/patternfly-react-seed/issues/134 is fixed
36+
- name: Run tests
37+
run: npm run test
38+
build:
39+
name: Build
40+
runs-on: ubuntu-latest
41+
steps:
42+
- name: Checkout
43+
uses: actions/checkout@v3
44+
- name: Setup Node.js
45+
uses: actions/setup-node@v3
46+
with:
47+
node-version: lts/*
48+
- name: Install dependencies
49+
run: npm install --legacy-peer-deps # TODO remove --legacy-peer-deps after https://github.com/patternfly/patternfly-react-seed/issues/134 is fixed
50+
- name: Attempt a build
51+
run: npm run build

0 commit comments

Comments
 (0)