Skip to content
This repository was archived by the owner on Sep 20, 2024. It is now read-only.

Commit 1cf9673

Browse files
committed
ci: added workflow for other prs
1 parent abb48cd commit 1cf9673

File tree

2 files changed

+34
-0
lines changed

2 files changed

+34
-0
lines changed
File renamed without changes.

.github/workflows/test.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# This workflow will do a clean install of node dependencies, 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+
4+
name: Build & Test Components
5+
6+
on:
7+
# Trigger the workflow on push or pull request,
8+
# but only for the master branch
9+
push:
10+
branches-ignore:
11+
- master
12+
pull_request:
13+
branches-ignore:
14+
- master
15+
16+
jobs:
17+
build:
18+
runs-on: ubuntu-latest
19+
strategy:
20+
matrix:
21+
node-version: [12.x]
22+
steps:
23+
- uses: actions/checkout@v2
24+
- name: Use Node.js ${{ matrix.node-version }}
25+
uses: actions/setup-node@v1
26+
with:
27+
node-version: ${{ matrix.node-version }}
28+
- run: yarn
29+
- run: yarn bootstrap
30+
- run: yarn lint
31+
- run: yarn build --if-present
32+
- run: yarn test
33+
env:
34+
CI: true

0 commit comments

Comments
 (0)