-
Notifications
You must be signed in to change notification settings - Fork 284
31 lines (29 loc) · 1.03 KB
/
sapling-addons.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
name: Verify addons/ folder
env:
CI: false
on:
# Run on any branch to support ghstack's synthetic base/head branches.
pull_request:
workflow_dispatch:
push:
branches:
- main
jobs:
verify-addons:
runs-on: ubuntu-latest
# Our build container already has Node, Yarn, and Python installed.
container:
image: ${{ format('ghcr.io/{0}/build_ubuntu_20_04:latest', github.repository) }}
steps:
- name: Install fb-watchman
run: curl -fsSL https://github.com/facebook/watchman/releases/download/v2023.09.18.00/watchman_ubuntu20.04_v2023.09.18.00.deb -o watchman.deb && apt -y -f install ./watchman.deb
- name: Checkout Code
uses: actions/checkout@v3
- name: Grant Access
run: git config --global --add safe.directory "$PWD"
- name: yarn install
working-directory: ./addons
run: yarn install --prefer-offline
- name: Run addons/verify-addons-folder.py
working-directory: ./addons
run: ./verify-addons-folder.py --skip-integration-tests