-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Sebastian Florek
committed
Jun 18, 2020
1 parent
37311f9
commit 7c7ece8
Showing
1 changed file
with
35 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
name: Code Check & Linting | ||
|
||
on: | ||
push: | ||
branches: [ master ] | ||
pull_request: | ||
branches: [ master ] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Setup Envrionment | ||
env: | ||
NG_CLI_ANALYTICS: ci | ||
GO111MODULE: on | ||
GOPROXY: "https://proxy.golang.org" | ||
PATH: "$PATH:$GOPATH:/bin" | ||
NODE_OPTIONS: "--max-old-space-size=8192" | ||
|
||
- name: Setup Go | ||
uses: actions/setup-go@v2 | ||
with: | ||
go-version: ^1.13 | ||
|
||
- name: Setup NodeJS | ||
uses: actions/setup-node@v1.4.2 | ||
with: | ||
node-version: ^10.15.0 | ||
|
||
- run: npm install | ||
- run: ./aio/scripts/install-codegen.sh | ||
- run: npm run check |