-
Notifications
You must be signed in to change notification settings - Fork 23
32 lines (30 loc) · 946 Bytes
/
web.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
name: Web
on: [push, pull_request]
jobs:
transpiler:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- name: npm install
run: |
npm run docker:start
npm run install
npm run link-local
npm test
cd web/transpiler
npm install
npm run build
- name: deploy transpiler.abaplint.org
uses: peaceiris/actions-gh-pages@v3
if: github.ref == 'refs/heads/main' && github.repository == 'abaplint/transpiler'
with:
deploy_key: ${{ secrets.DEPLOY_TRANSPILER_ABAPLINT_ORG }}
external_repository: abaplint/transpiler.abaplint.org
user_name: 'github-actions[bot]'
user_email: 'github-actions[bot]@users.noreply.github.com'
publish_branch: main
cname: transpiler.abaplint.org
force_orphan: true
publish_dir: ./web/transpiler/dist