mirror of
https://github.com/MetaFam/TheGame.git
synced 2026-02-09 21:45:53 -05:00
* Bump @typescript-eslint/eslint-plugin from 3.6.0 to 3.8.0 Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 3.6.0 to 3.8.0. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v3.8.0/packages/eslint-plugin) Signed-off-by: dependabot[bot] <support@github.com> * Fix github token in automerge * Remove automerge Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Hammad Jutt <jutt@ualberta.ca>
50 lines
951 B
YAML
50 lines
951 B
YAML
name: TheGame CI
|
|
|
|
on:
|
|
pull_request:
|
|
branches:
|
|
- master
|
|
push:
|
|
branches:
|
|
- master
|
|
|
|
jobs:
|
|
test:
|
|
name: Run Tests
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Cancel Previous Runs
|
|
uses: styfle/cancel-workflow-action@0.4.0
|
|
with:
|
|
access_token: ${{ github.token }}
|
|
- uses: actions/checkout@v2
|
|
- uses: actions/setup-node@v1
|
|
with:
|
|
node-version: 12.x
|
|
|
|
- uses: actions/cache@v2
|
|
with:
|
|
path: '**/node_modules'
|
|
key: nodeModules-${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
|
|
|
|
- name: Install packages
|
|
run: yarn --frozen-lockfile
|
|
env:
|
|
CI: true
|
|
|
|
- name: Typechecking
|
|
run: yarn typecheck
|
|
env:
|
|
CI: true
|
|
|
|
- name: Linting
|
|
run: yarn lint
|
|
env:
|
|
CI: true
|
|
|
|
- name: Testing
|
|
run: yarn test --ci --coverage
|
|
env:
|
|
CI: true
|