Skip to content

Merge branch 'abap-openapi:main' into main #25

Merge branch 'abap-openapi:main' into main

Merge branch 'abap-openapi:main' into main #25

Workflow file for this run

name: Web
on: [push, pull_request]
jobs:
web:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- name: npm install
env:
NODE_OPTIONS: --openssl-legacy-provider
run: |
npm install
npm test
cd web
npm install
npm run build
- name: Install SSH Client
if: github.ref == 'refs/heads/main' && github.repository == 'abap-openapi/abap-openapi'
uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.DEPLOY_KEY }}
- name: Deploy
if: github.ref == 'refs/heads/main' && github.repository == 'abap-openapi/abap-openapi'
uses: JamesIves/[email protected]
with:
SSH: true
BRANCH: main
REPOSITORY_NAME: abap-openapi/web-openapi-client
FOLDER: web/dist
GIT_CONFIG_NAME: actions
GIT_CONFIG_EMAIL: [email protected]