Skip to content

Commit

Permalink
Combine npm related workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
David Verdeguer committed May 8, 2020
1 parent 6bab450 commit d966ea2
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 26 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,16 @@
name: "Check generated JavaScript"
name: "Lint, Build & Test"

on: [pull_request]
on: [push]

jobs:
tslint:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- name: tslint
run: npm run-script lint

check-js:
runs-on: ubuntu-latest

Expand All @@ -25,3 +33,11 @@ jobs:
exit 1
fi
echo "Success: JavaScript files are up to date"
npm-test:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- name: npm run-script test
run: npm run-script test
12 changes: 0 additions & 12 deletions .github/workflows/npm-test.yml

This file was deleted.

12 changes: 0 additions & 12 deletions .github/workflows/ts-lint.yml

This file was deleted.

0 comments on commit d966ea2

Please sign in to comment.