diff options
| author | Yuriy Andamasov <yuriy@vyos.io> | 2026-04-19 02:01:03 +0300 |
|---|---|---|
| committer | Yuriy Andamasov <yuriy@vyos.io> | 2026-04-19 02:01:03 +0300 |
| commit | 8e90e80901140dfb38de50a6e7f613ab6e1d7c5c (patch) | |
| tree | 36a1f008de7b42d2ab01a17bc914c4b71dc2c22a /.github/workflows | |
| parent | 8a44273b7b26baec6fdb7ee14539ee83c1fa159b (diff) | |
| download | community.vyos.net-8e90e80901140dfb38de50a6e7f613ab6e1d7c5c.tar.gz community.vyos.net-8e90e80901140dfb38de50a6e7f613ab6e1d7c5c.zip | |
ci: add PR build check workflow
Builds with --profile staging on any PR targeting main.
Runs locally in the Actions runner; no Amplify branch config needed.
🤖 Generated by robots (https://vyos.io)
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/pr-check.yml | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/.github/workflows/pr-check.yml b/.github/workflows/pr-check.yml new file mode 100644 index 0000000..e2e9730 --- /dev/null +++ b/.github/workflows/pr-check.yml @@ -0,0 +1,27 @@ +name: PR build check + +on: + pull_request: + branches: + - main + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - name: Install cmark + run: sudo apt-get install -y cmark + + - name: Install Dart Sass + run: npm install -g sass@1.32.8 + + - name: Install soupault + run: | + wget -q https://github.com/PataphysicalSociety/soupault/releases/download/4.10.0/soupault-4.10.0-linux-x86_64.tar.gz + tar xf soupault-4.10.0-linux-x86_64.tar.gz + sudo mv soupault-4.10.0-linux-x86_64/soupault /usr/local/bin/ + + - name: Build (staging profile) + run: SOUPAULT_OPTS="--profile staging" make all |
