-
Notifications
You must be signed in to change notification settings - Fork 1
39 lines (37 loc) · 958 Bytes
/
build.yml
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
33
34
35
36
37
38
39
name: Build
on:
pull_request:
branches:
- "*"
jobs:
install:
runs-on: ubuntu-latest
steps:
- name: Use Node.js 14C
uses: actions/setup-node@v1
with:
node-version: 14
- run: yarn --frozen-lockfile
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js 14
uses: actions/setup-node@v1
with:
node-version: 14
- name: script download and install access-content
run: |
chmod +x ./scripts/getContent.sh
./scripts/getContent.sh $ACCESS_CONTENT_URL
shell: bash
env:
ACCESS_CONTENT_URL: https://github.com/InseeFr/Coleman-Access-Content/releases/download/0.0.2/content.zip
- run: yarn
- run: yarn run test
- run: yarn build
- name: Upload build
uses: actions/upload-artifact@v4
with:
name: build
path: build