Skip to content

package update and Apollo Server 4 migration WIP #415

package update and Apollo Server 4 migration WIP

package update and Apollo Server 4 migration WIP #415

Workflow file for this run

name: Test
on: push
jobs:
test:
name: Test
runs-on: ubuntu-latest
steps:
- name: Check out Git repository
uses: actions/checkout@v2
- name: Install Node.js, NPM and Yarn
uses: actions/setup-node@v1
with:
node-version: 16
- name: Cache node modules
uses: actions/cache@v1
env:
cache-name: cache-node-modules
with:
path: ~/.config/yarn/global # npm cache files are stored in `~/.npm` on Linux/macOS
key:
${{ runner.os }}-build-${{ env.cache-name }}-${{
hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: Install libs
run: sudo apt-get install libudev-dev
- name: Install Dependencies
run: yarn
- name: TypeScript Check
run: |
npm run typecheck
- name: ESLint
run: |
npm run lint
- name: Test
env:
SKIP_PREFLIGHT_CHECK: true
run: |
npm run test:plain