Skip to content

Commit

Permalink
feat: add blacksmith
Browse files Browse the repository at this point in the history
  • Loading branch information
deanamiel committed Mar 26, 2024
1 parent 10c9801 commit dc69f67
Show file tree
Hide file tree
Showing 7 changed files with 356 additions and 554 deletions.
14 changes: 4 additions & 10 deletions .github/workflows/codecov.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,22 +13,16 @@ concurrency:

jobs:
coverage:
name: Code Coverage
strategy:
matrix:
node-version:
- 18.x
os:
- ubuntu-latest
runs-on: ${{ matrix.os }}
runs-on: blacksmith-2vcpu-ubuntu-2204

steps:
- uses: actions/checkout@v4

- name: Install Node.js
uses: actions/setup-node@v3
uses: useblacksmith/setup-node@v5
with:
node-version: ${{ matrix.node-version }}
node-version: 18.x
cache: 'npm'

- name: Install Dependencies
run: npm ci
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,15 @@ on:
jobs:
build:
name: 'Run Coverage Tests'
runs-on: ubuntu-latest
runs-on: blacksmith-2vcpu-ubuntu-2204
steps:
- uses: actions/checkout@v4

- name: Install Node.js
uses: actions/setup-node@v3
uses: useblacksmith/setup-node@v5
with:
node-version: 18.x
cache: 'npm'

- name: Install Dependencies
run: npm ci
Expand Down
14 changes: 5 additions & 9 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,16 @@ concurrency:

jobs:
lint:
strategy:
matrix:
node-version:
- 18.x
os:
- ubuntu-latest
runs-on: ${{ matrix.os }}
runs-on: blacksmith-2vcpu-ubuntu-2204

steps:
- uses: actions/checkout@v4

- name: Install Node.js
uses: actions/setup-node@v3
uses: useblacksmith/setup-node@v5
with:
node-version: ${{ matrix.node-version }}
node-version: 18.x
cache: 'npm'

- name: Install Dependencies
run: npm ci
Expand Down
11 changes: 9 additions & 2 deletions .github/workflows/slither.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,18 @@ concurrency:
cancel-in-progress: true

jobs:
analyze:
runs-on: ubuntu-latest
slither:
runs-on: blacksmith-2vcpu-ubuntu-2204

steps:
- uses: actions/checkout@v4

- name: Install Node.js
uses: useblacksmith/setup-node@v5
with:
node-version: 18.x
cache: 'npm'

- name: Install Dependencies
run: npm ci

Expand Down
14 changes: 5 additions & 9 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,16 @@ concurrency:

jobs:
test:
strategy:
matrix:
node-version:
- 18.x
os:
- ubuntu-latest
runs-on: ${{ matrix.os }}
runs-on: blacksmith-2vcpu-ubuntu-2204

steps:
- uses: actions/checkout@v4

- name: Install Node.js
uses: actions/setup-node@v3
uses: useblacksmith/setup-node@v5
with:
node-version: ${{ matrix.node-version }}
node-version: 18.x
cache: 'npm'

- name: Install Dependencies
run: npm ci
Expand Down
Loading

0 comments on commit dc69f67

Please sign in to comment.