mirror of
https://github.com/tcgdex/javascript-sdk.git
synced 2025-07-14 02:45:11 +00:00
Add Github actions (#9)
* First try Signed-off-by: Avior <florian.bouillon@delta-wings.net> * Removed Nodejs 15.x from tests Signed-off-by: Avior <florian.bouillon@delta-wings.net>
This commit is contained in:
27
.github/workflows/code-quality.yml
vendored
Normal file
27
.github/workflows/code-quality.yml
vendored
Normal file
@ -0,0 +1,27 @@
|
||||
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
|
||||
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
|
||||
|
||||
name: Code Quality Checks
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
# Run on any pull request
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
lint:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
persist-credentials: false
|
||||
|
||||
- name: Setup NodeJS
|
||||
uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: '16.x'
|
||||
|
||||
- name: Lint
|
||||
run: yarn && yarn lint
|
Reference in New Issue
Block a user