Skip to content

Commit 582b8fd

Browse files
committed
feat: publish workflows
1 parent a07bd4e commit 582b8fd

File tree

2 files changed

+45
-0
lines changed

2 files changed

+45
-0
lines changed

.github/workflows/build.yml

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Build
2+
3+
on: [push]
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- name: Checkout
10+
uses: actions/checkout@v2
11+
- name: Node Version
12+
uses: actions/setup-node@v3
13+
with:
14+
node-version: 18.16.0
15+
cache: yarn
16+
- name: Install Dependencies
17+
run: yarn install --frozen-lockfile
18+
- name: Eslint-Check
19+
run: yarn build

.github/workflows/publish.yml

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Publish
2+
on:
3+
push:
4+
branches:
5+
- "main"
6+
7+
concurrrency: ${{ github.workflow }}-${{ github.ref}}
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Checkout
14+
uses: actions/checkout@v2
15+
- name: Node Version
16+
uses: actions/setup-node@v3
17+
with:
18+
node-version: 18.16.0
19+
cache: yarn
20+
- name: Install Dependencies
21+
run: yarn install --frozen-lockfile
22+
- name: Create Release Pull Request or Publish
23+
id: changesets
24+
uses: changesets/action@v1
25+
with:
26+
publish: yarn run build

0 commit comments

Comments
 (0)