Skip to content

Commit 1bf66dd

Browse files
committed
🔧 Adds publish all codemods action
1 parent d298f3d commit 1bf66dd

File tree

2 files changed

+27
-1
lines changed

2 files changed

+27
-1
lines changed
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Release all codemods
2+
3+
jobs:
4+
release:
5+
runs-on: ubuntu-latest
6+
7+
strategy:
8+
matrix:
9+
node-version: [14.x]
10+
11+
steps:
12+
- uses: actions/checkout@v2
13+
with:
14+
fetch-depth: 0
15+
- name: Use Node.js ${{ matrix.node-version }}
16+
uses: actions/setup-node@v1
17+
with:
18+
node-version: ${{ matrix.node-version }}
19+
- run: yarn install --frozen-lockfile
20+
- run: yarn validate
21+
- run: yarn test
22+
- run: yarn validate:codemods
23+
- run: yarn release-all:codemods
24+
env:
25+
CI: true
26+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

.github/workflows/release-codmods.yml renamed to .github/workflows/release-codemods.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Release Codemods
1+
name: Release codemods
22

33
on:
44
push:

0 commit comments

Comments
 (0)