From e6ed76b99266c33b2fb9c813b69e39b6f3732189 Mon Sep 17 00:00:00 2001 From: Austin Date: Fri, 10 Nov 2023 15:18:14 -0600 Subject: [PATCH] refactor: github workflow tweaks --- .github/workflows/{javascript.yml => lint.yml} | 16 +--------------- .github/workflows/test.yml | 17 +++++++++++++++++ README.md | 2 +- 3 files changed, 19 insertions(+), 16 deletions(-) rename .github/workflows/{javascript.yml => lint.yml} (66%) create mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/javascript.yml b/.github/workflows/lint.yml similarity index 66% rename from .github/workflows/javascript.yml rename to .github/workflows/lint.yml index c50cc2b..cb9ea51 100644 --- a/.github/workflows/javascript.yml +++ b/.github/workflows/lint.yml @@ -1,22 +1,8 @@ -name: Tests, Typecheck, Eslint +name: Typecheck, Eslint on: [push] jobs: - tests: - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v2 - - name: Node Version - uses: actions/setup-node@v3 - with: - node-version: 18.16.0 - cache: yarn - - name: Install Dependencies - run: yarn install --frozen-lockfile - - name: Test - run: yarn test typecheck: runs-on: ubuntu-latest steps: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..7b6fc18 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,17 @@ +name: Test +on: [push] +jobs: + tests: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v2 + - name: Node Version + uses: actions/setup-node@v3 + with: + node-version: 18.16.0 + cache: yarn + - name: Install Dependencies + run: yarn install --frozen-lockfile + - name: Test + run: yarn test \ No newline at end of file diff --git a/README.md b/README.md index e46a0fd..fbf807a 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ Library for interacting with Shade smart contracts

npm - ci + ci

## Yarn