commit-vscode-initial-cfpush #3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build | |
on: | |
push: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install dependencies | |
run: npm ci | |
- name: Static code checks | |
run: npm run ci-lint | |
- name: Build | |
run: npm run ci-build | |
- name: Unit tests | |
run: npm run ci-backend-unit-test | |
- name: Integration tests | |
run: npm run ci-it-backend | |
- name: Package | |
run: npm run ci-package | |
- name: Deploy | |
uses: SAP/project-piper-action@install-cf-cli | |
with: | |
command: cloudFoundryDeploy | |
env: | |
PIPER_username: ${{ secrets.CF_USER }} | |
PIPER_password: ${{ secrets.CF_PASSWORD }} |