Skip to content

Commit 1cece3c

Browse files
committed
chore(CI): combine workflows
1 parent 5a3703c commit 1cece3c

File tree

12 files changed

+100
-439
lines changed

12 files changed

+100
-439
lines changed

.github/workflows/blob.yml

Lines changed: 0 additions & 77 deletions
This file was deleted.

.github/workflows/fetch.yml

Lines changed: 0 additions & 89 deletions
This file was deleted.

.github/workflows/file.yml

Lines changed: 0 additions & 77 deletions
This file was deleted.

.github/workflows/form-data.yml

Lines changed: 0 additions & 78 deletions
This file was deleted.

.github/workflows/release.yml

Lines changed: 21 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,38 @@
1-
name: release
1+
name: 🦋 Changesets Release
2+
23
on:
34
push:
45
branches:
56
- main
6-
concurrency: ${{ github.workflow }}-${{ github.ref }}
7-
env:
8-
CI: true
7+
8+
concurrency:
9+
group: ${{ github.workflow }}-${{ github.ref }}
10+
cancel-in-progress: true
11+
912
jobs:
1013
release:
11-
name: release
14+
name: 🦋 Changesets Release
15+
1216
if: ${{ github.repository == 'remix-run/web-std-io' }}
17+
1318
runs-on: ubuntu-latest
19+
1420
steps:
15-
- name: Checkout
21+
- name: ⬇️ Checkout repo
1622
uses: actions/checkout@v3
1723
with:
1824
fetch-depth: 0
19-
- name: Setup Node
25+
26+
- name: ⎔ Setup node
2027
uses: actions/setup-node@v3
2128
with:
29+
cache: yarn
2230
node-version: 16
23-
cache: 'yarn'
24-
- name: Install
25-
run: yarn install --frozen-lockfile
26-
- name: Auth
31+
32+
- name: 📥 Install deps
33+
run: yarn --frozen-lockfile
34+
35+
- name: 🔐 Setup npm auth
2736
run: |
2837
echo "registry=https://registry.npmjs.org" >> ~/.npmrc
2938
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" >> ~/.npmrc
@@ -33,7 +42,7 @@ jobs:
3342
# to `main` with the related changes for the new version. After the PR
3443
# is merged, the workflow will run again and this action will publish to
3544
# npm.
36-
- name: PR / Publish
45+
- name: 🚀 PR / Publish
3746
id: changesets
3847
uses: changesets/action@v1
3948
with:

0 commit comments

Comments
 (0)