forked from Workday/canvas-tokens
-
Notifications
You must be signed in to change notification settings - Fork 0
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
1 parent
68e3c4d
commit b806fc5
Showing
3 changed files
with
40 additions
and
1 deletion.
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,37 @@ | ||
name: Pull Request | ||
|
||
on: pull_request | ||
|
||
jobs: | ||
install: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
## This step installs node and sets up several matchers (regex matching for Github Annotations). See | ||
## https://github.com/actions/setup-node/blob/25316bbc1f10ac9d8798711f44914b1cf3c4e954/src/main.ts#L58-L65 | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: 16.x | ||
registry-url: https://registry.npmjs.org | ||
|
||
- name: Install Packages | ||
shell: bash | ||
run: npm install --production=false | ||
|
||
check: | ||
runs-on: ubuntu-latest | ||
needs: 'install' | ||
|
||
steps: | ||
- name: Lint | ||
shell: bash | ||
run: npm run lint | ||
|
||
- name: Type Check | ||
shell: bash | ||
run: npm run typecheck | ||
|
||
- name: Run Unit Tests | ||
shell: bash | ||
run: npm test |
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 |
---|---|---|
|
@@ -4,6 +4,7 @@ | |
dist | ||
tmp | ||
/out-tsc | ||
*.tsbuildinfo | ||
|
||
# dependencies | ||
node_modules | ||
|
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