From a03e55387aef8eb9b59b6a8c495b8d2bd543124b Mon Sep 17 00:00:00 2001 From: maticzav Date: Tue, 15 Dec 2020 13:44:35 +0100 Subject: [PATCH] chore: fix actions --- .github/workflows/publish.yml | 4 ++-- .github/workflows/test.yml | 4 ++-- README.md | 1 + 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index fcb8f15b..6c52ee2a 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -1,4 +1,4 @@ -name: Release on NPM +name: Publish on: push: @@ -17,7 +17,7 @@ jobs: node-version: '13.x' - run: yarn install # Publish - - run: yarn build + - run: yarn compile - run: yarn test env: GH_TOKEN: ${{ secrets.GH_SPONSORS_TOKEN }} diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index dfaab782..b4ccd44b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,4 +1,4 @@ -name: Test GraphQL Middleware +name: Test on: [push, pull_request] @@ -14,7 +14,7 @@ jobs: node-version: '13.x' - run: yarn install # Test - - run: yarn build + - run: yarn compile - run: yarn test env: GH_TOKEN: ${{ secrets.GH_SPONSORS_TOKEN }} diff --git a/README.md b/README.md index ed1a5897..e4441438 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,7 @@ # graphql-middleware +[![Actions Status](https://github.com/maticzav/graphql-middleware/workflows/Test/badge.svg)](https://github.com/maticzav/graphql-middleware/actions) [![codecov](https://codecov.io/gh/prisma/graphql-middleware/branch/master/graph/badge.svg)](https://codecov.io/gh/prisma/graphql-middleware) [![npm version](https://badge.fury.io/js/graphql-middleware.svg)](https://badge.fury.io/js/graphql-middleware)