Add github workflows

This commit is contained in:
Tee
2021-03-16 00:10:15 -04:00
parent bfa0502a1e
commit 7ebfb80cb1

32
.github/workflows/sdk_test.yaml vendored Normal file
View File

@ -0,0 +1,32 @@
name: Pokemon TCG TypeScript SDK Test
on:
pull_request:
push:
branches:
- master
jobs:
test:
name: Pokemon TCG TypeScript Integration Tests
runs-on: ubuntu-latest
steps:
- name: 'Checkout'
uses: actions/checkout@v1
- name: 'Setup Node'
uses: actions/setup-node@v1
with:
node-version: 12
- name: 'Install dependencies'
run: 'npm i'
- name: 'Lint'
run: 'npm run lint'
- name: 'Test SDK'
run: 'npm run test'
- name: 'Build SDK'
run: 'npm run build'