Skip to content

Commit 23ef0ec

Browse files
authored
chore(ci): rename workflows to match Resend's convention (#2281)
1 parent f0ba2c1 commit 23ef0ec

File tree

5 files changed

+25
-35
lines changed

5 files changed

+25
-35
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Pin Dependencies Check
2+
on:
3+
push:
4+
branches:
5+
- main
6+
- canary
7+
pull_request:
8+
permissions:
9+
contents: read
10+
pull-requests: read
11+
jobs:
12+
pin-dependencies-check:
13+
runs-on: buildjet-4vcpu-ubuntu-2204
14+
container:
15+
image: node:22
16+
steps:
17+
- name: Checkout
18+
uses: actions/checkout@v4
19+
- name: Check for pinned dependencies
20+
run: npx tsx ./scripts/check-dependency-versions.ts

.github/workflows/preview-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ permissions:
1010
pull-requests: write
1111
concurrency: ${{ github.workflow }}-${{ github.ref }}
1212
jobs:
13-
release:
13+
preview-release:
1414
runs-on: buildjet-4vcpu-ubuntu-2204
1515
permissions:
1616
contents: write

.github/workflows/release-canary.yml

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
1-
name: rsnd
2-
1+
name: Release Canary
32
on:
43
push:
54
branches:
65
- canary
7-
86
concurrency: ${{ github.workflow }}-${{ github.ref }}
9-
107
jobs:
118
release:
129
name: release canary
@@ -19,19 +16,16 @@ jobs:
1916
uses: actions/checkout@v4
2017
with:
2118
fetch-depth: 0
22-
2319
- name: Setup Node.js
2420
uses: actions/setup-node@v4
2521
with:
2622
node-version: 22
27-
2823
- name: Enable Corepack
2924
id: pnpm-setup
3025
run: |
3126
corepack enable
3227
corepack prepare [email protected] --activate
3328
pnpm config set script-shell "/usr/bin/bash"
34-
3529
- name: pnpm Cache
3630
uses: buildjet/cache@3e70d19e31d6a8030aeddf6ed8dbe601f94d09f4
3731
with:
@@ -42,16 +36,13 @@ jobs:
4236
key: ${{ runner.os }}-pnpm-${{ hashFiles('**/pnpm-lock.yaml') }}
4337
restore-keys: |
4438
${{ runner.os }}-pnpm-
45-
4639
- name: Install packages
4740
if: steps.pnpm-cache.outputs.cache-hit != 'true'
4841
run: pnpm install --frozen-lockfile
49-
5042
- name: Enter prerelease mode
5143
# This step errors if it is already in prerelease mode
5244
continue-on-error: true
5345
run: pnpm canary:enter
54-
5546
- name: Create "Version packages" PR or publish release
5647
uses: changesets/action@06245a4e0a36c064a573d4150030f5ec548e4fcc
5748
with:

.github/workflows/tests.yml

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: rsnd
1+
name: Build and Test
22
on:
33
push:
44
branches:
@@ -10,7 +10,6 @@ permissions:
1010
pull-requests: read
1111
jobs:
1212
build-and-test:
13-
name: build and test
1413
runs-on: buildjet-4vcpu-ubuntu-2204
1514
outputs:
1615
cache-hit: ${{ steps.pnpm-cache.outputs.cache-hit }}
@@ -52,12 +51,3 @@ jobs:
5251
env:
5352
SPAM_ASSASSIN_HOST: ${{ secrets.SPAM_ASSASSIN_HOST }}
5453
SPAM_ASSASSIN_PORT: ${{ secrets.SPAM_ASSASSIN_PORT }}
55-
dependencies:
56-
runs-on: buildjet-4vcpu-ubuntu-2204
57-
container:
58-
image: node:22
59-
steps:
60-
- name: Checkout
61-
uses: actions/checkout@v4
62-
- name: Check for pinned dependencies
63-
run: npx tsx ./scripts/check-dependency-versions.ts

.github/workflows/version.yml

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,11 @@
1-
name: rsnd
2-
1+
name: Version
32
on:
43
push:
54
branches:
65
- main
7-
8-
96
concurrency: ${{ github.workflow }}-${{ github.ref }}
10-
117
jobs:
12-
release:
13-
name: version
8+
version:
149
runs-on: buildjet-4vcpu-ubuntu-2204
1510
permissions:
1611
contents: write
@@ -20,15 +15,12 @@ jobs:
2015
uses: actions/checkout@v4
2116
with:
2217
fetch-depth: 0
23-
2418
- name: Setup Node.js
2519
uses: actions/setup-node@v4
2620
with:
2721
node-version: 22
28-
2922
- name: pnpm setup
3023
uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda
31-
3224
- name: pnpm Cache
3325
id: pnpm-cache
3426
uses: buildjet/cache@3e70d19e31d6a8030aeddf6ed8dbe601f94d09f4
@@ -40,16 +32,13 @@ jobs:
4032
key: ${{ runner.os }}-pnpm-${{ hashFiles('**/pnpm-lock.yaml') }}
4133
restore-keys: |
4234
${{ runner.os }}-pnpm-
43-
4435
- name: Install packages
4536
if: steps.pnpm-cache.outputs.cache-hit != 'true'
4637
run: pnpm install --frozen-lockfile
47-
4838
- name: Exit prerelease mode
4939
# This step errors if it is not in prerelease mode
5040
continue-on-error: true
5141
run: pnpm canary:exit
52-
5342
- name: Create Release Pull Request
5443
uses: changesets/action@06245a4e0a36c064a573d4150030f5ec548e4fcc
5544
with:

0 commit comments

Comments
 (0)