-
Notifications
You must be signed in to change notification settings - Fork 36
41 lines (41 loc) · 1.36 KB
/
cloud-docs-lighthouse.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
40
41
on:
push:
branches:
- DOP-4247-build-artifacts
name: Test Lighthouse Score
jobs:
deploy:
permissions: write-all
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
#----------------------------------------------
# ----- install node -----
#----------------------------------------------
- uses: actions/setup-node@v1
with:
node-version: '18.x'
#----------------------------------------------
# ----- install python -----
#----------------------------------------------
- name: Set up python
id: setup-python
uses: actions/setup-python@v5
with:
python-version: '3.12'
#----------------------------------------------
# ----- install & configure poetry -----
#----------------------------------------------
- name: Install Poetry
uses: snok/install-poetry@v1
with:
virtualenvs-create: true
virtualenvs-in-project: true
installer-parallel: true
#----------------------------------------------
# ----- Run custom Github Action -----
#----------------------------------------------
- name: Cloud Docs Build
uses: mongodb/docs-worker-actions/build-cloud-docs@DOP-4247-build-artifact
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}