Skip to content

Commit d627316

Browse files
blacksmith-sh[bot]aapolaakkio
authored andcommitted
Migrate workflows to Blacksmith
1 parent 1f9290b commit d627316

3 files changed

Lines changed: 10 additions & 10 deletions

File tree

.github/workflows/docker-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
docker:
2727
name: Push Docker image to GitHub Packages
2828
needs: [lint]
29-
runs-on: ubuntu-latest
29+
runs-on: blacksmith-4vcpu-ubuntu-2404
3030
permissions:
3131
packages: write
3232
contents: read

.github/workflows/lint-test.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
lint:
1313
name: ESLint
1414
if: github.event_name != 'pull_request' || github.event.pull_request.draft == false
15-
runs-on: ubuntu-latest
15+
runs-on: blacksmith-4vcpu-ubuntu-2404
1616
timeout-minutes: 5
1717
steps:
1818

@@ -22,7 +22,7 @@ jobs:
2222
- uses: pnpm/action-setup@v4
2323

2424
- name: Setup Node.js
25-
uses: actions/setup-node@v4
25+
uses: useblacksmith/setup-node@v5
2626
with:
2727
node-version-file: '.nvmrc'
2828
cache: 'pnpm'
@@ -36,7 +36,7 @@ jobs:
3636
typecheck:
3737
name: Type checking
3838
if: github.event_name != 'pull_request' || github.event.pull_request.draft == false
39-
runs-on: ubuntu-latest
39+
runs-on: blacksmith-4vcpu-ubuntu-2404
4040
timeout-minutes: 5
4141
steps:
4242

@@ -46,7 +46,7 @@ jobs:
4646
- uses: pnpm/action-setup@v4
4747

4848
- name: Setup Node.js
49-
uses: actions/setup-node@v4
49+
uses: useblacksmith/setup-node@v5
5050
with:
5151
node-version-file: '.nvmrc'
5252
cache: 'pnpm'
@@ -60,7 +60,7 @@ jobs:
6060
test:
6161
name: Tests
6262
if: github.event_name != 'pull_request' || github.event.pull_request.draft == false
63-
runs-on: ubuntu-latest
63+
runs-on: blacksmith-4vcpu-ubuntu-2404
6464
timeout-minutes: 5
6565

6666
services:
@@ -86,7 +86,7 @@ jobs:
8686
- uses: pnpm/action-setup@v4
8787

8888
- name: Setup Node.js
89-
uses: actions/setup-node@v4
89+
uses: useblacksmith/setup-node@v5
9090
with:
9191
node-version-file: '.nvmrc'
9292
cache: 'pnpm'

.github/workflows/npm-build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55

66
jobs:
77
npm:
8-
runs-on: ubuntu-latest
8+
runs-on: blacksmith-4vcpu-ubuntu-2404
99
permissions:
1010
packages: write
1111
contents: read
@@ -16,7 +16,7 @@ jobs:
1616
- uses: pnpm/action-setup@v4
1717

1818
- name: Setup Node.js for NPM
19-
uses: actions/setup-node@v4
19+
uses: useblacksmith/setup-node@v5
2020
with:
2121
registry-url: "https://registry.npmjs.org"
2222
node-version-file: ".nvmrc"
@@ -38,7 +38,7 @@ jobs:
3838
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
3939

4040
- name: Setup Node.js for GitHub Packages
41-
uses: actions/setup-node@v4
41+
uses: useblacksmith/setup-node@v5
4242
with:
4343
registry-url: "https://npm.pkg.github.com"
4444

0 commit comments

Comments
 (0)