mirror of
https://github.com/tcgdex/javascript-sdk.git
synced 2025-04-23 03:02:09 +00:00
28 lines
675 B
YAML
28 lines
675 B
YAML
# 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
|