Merge pull request #16 from vymalo/snyk-upgrade-4195d9ec558b069c1d535… #29
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: | |
branches: | |
- '*' | |
- '!main' | |
pull_request: | |
branches: | |
- '*' | |
- '!main' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Install dependencies | |
run: npm ci | |
- name: Generate OpenAPI files | |
run: npm run generate | |
- name: Build app | |
run: npm run build | |
- name: Release dist files | |
uses: actions/upload-artifact@v2 | |
with: | |
name: dist | |
path: dist |