Skip to content

Commit 903f23e

Browse files
committed
ci: set up GitHub Action and remove circle
1 parent 11539eb commit 903f23e

File tree

3 files changed

+24
-27
lines changed

3 files changed

+24
-27
lines changed

.circleci/config.yml

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

.github/workflows/ci.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [ $default-branch ]
6+
7+
jobs:
8+
build:
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- uses: actions/checkout@v3
13+
- uses: actions/setup-node@v3
14+
with:
15+
node-version: 20
16+
cache: 'npm'
17+
- run: npm ci
18+
- run: npm run format:check --if-present
19+
- run: npm run semantic-release
20+
env:
21+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
22+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,14 +66,14 @@
6666
[
6767
"@semantic-release/changelog",
6868
{
69-
"changelogFile": "docs/changelog/README.md"
69+
"changelogFile": "docs/changelog/index.md"
7070
}
7171
],
7272
[
7373
"@semantic-release/git",
7474
{
7575
"assets": [
76-
"docs/changelog/README.md"
76+
"docs/changelog/index.md"
7777
],
7878
"message": "chore(changelog): ${nextRelease.version} [ci skip]"
7979
}

0 commit comments

Comments
 (0)