Merge pull request #75 from vinceh121/dependabot/maven/gmcserver-serv… #489
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
# The action that builds and tests gmcserver-web | |
name: Web Build | |
defaults: | |
run: | |
working-directory: gmcserver-web | |
on: | |
push: | |
branches: | |
- '**' | |
- '!deploy' | |
pull_request: | |
branches: | |
- '**' | |
- '!deploy' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Dependencies | |
run: sudo apt-get update && sudo apt-get install npm && sudo npm install -g pnpm | |
- name: pnpm dependencies | |
run: pnpm i | |
- name: Build | |
run: pnpm build | |
# lint: | |
# runs-on: ubuntu-latest | |
# steps: | |
# - uses: actions/checkout@v2 | |
# - uses: Borales/[email protected] | |
# with: | |
# cmd: install | |
# - name: Install Angular CLI | |
# run: sudo npm install -g @angular/cli | |
# - name: Dependencies | |
# run: yarn | |
# - name: Lint | |
# run: yarn run lint |