-
Notifications
You must be signed in to change notification settings - Fork 2
32 lines (24 loc) · 831 Bytes
/
test.yml
File metadata and controls
32 lines (24 loc) · 831 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name: Test and Upload Reports
on: [pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check out Git repository
uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v1
with:
node-version: 16
- name: Install yarn
run: |
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
sudo apt-get update
sudo apt-get install --no-install-recommends yarn
- name: Test
run: yarn test --scope=@map-colonies/react-components
- uses: actions/upload-artifact@v2
with:
name: Test Reporters
path: packages/**/jest_html_reporters.html