mirror of
https://github.com/seigler/advent-of-code-2020
synced 2025-07-27 08:16:08 +00:00
Initial commit
This commit is contained in:
commit
f3d555f01c
12 changed files with 370 additions and 0 deletions
27
.github/workflows/pr-check.yml
vendored
Normal file
27
.github/workflows/pr-check.yml
vendored
Normal file
|
@ -0,0 +1,27 @@
|
|||
name: Check PR
|
||||
on:
|
||||
pull_request:
|
||||
branches:
|
||||
- main
|
||||
jobs:
|
||||
test:
|
||||
name: Linting and Testing
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Use Node JS LTS
|
||||
uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: 12.x
|
||||
|
||||
- name: Install npm dependencies
|
||||
run: npm install
|
||||
|
||||
- name: Run build steps
|
||||
run: npm build -s
|
||||
|
||||
- name: Run default tests
|
||||
run: npm test -s
|
Loading…
Add table
Add a link
Reference in a new issue