Skip to content

Commit

Permalink
refactor: github workflow tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
AustinWoetzel committed Nov 10, 2023
1 parent 9a484a6 commit e6ed76b
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 16 deletions.
16 changes: 1 addition & 15 deletions .github/workflows/javascript.yml → .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
17 changes: 17 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Library for interacting with Shade smart contracts

<p align="center">
<img alt="npm" src="https://img.shields.io/npm/v/shadejs" />
<img alt="ci" style="margin-left: 0.3em" src="https://github.com/securesecrets/shadejs/blob/main/.github/workflows/javascript.yml/badge.svg?branch=main" />
<img alt="ci" style="margin-left: 0.3em" src="https://github.com/securesecrets/shadejs/blob/main/.github/workflows/test.yml/badge.svg?branch=main" />
</p>

## Yarn
Expand Down

0 comments on commit e6ed76b

Please sign in to comment.