feat: user end date #58
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: | |
pull_request | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- uses: actions/setup-node@v1 #this installs node and npm for us | |
with: | |
node-version: '10.x' | |
- uses: actions/cache@v1 # this allows for re-using node_modules caching, making builds a bit faster. | |
with: | |
path: ~/.npm | |
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} | |
restore-keys: | | |
${{ runner.os }}-node- | |
- run: npm install #TODO: --only-prod, le build crash à voir pq | |
- run: npm install -g @angular/cli > /dev/null | |
- run: npm run build:prod |