Skip to content

Commit 62e8cde

Browse files
committed
delete old workflows and create new to publish the package
1 parent 4fdb7b5 commit 62e8cde

File tree

11 files changed

+751
-739
lines changed

11 files changed

+751
-739
lines changed

.circleci/config.yml

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

.editorconfig

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

.github/FUNDING.yml

Lines changed: 0 additions & 1 deletion
This file was deleted.

.github/ISSUE_TEMPLATE/bug_report.md

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

.github/ISSUE_TEMPLATE/feature_request.md

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

.github/dependabot.yml

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

.github/workflows/auto-merge.yml

Lines changed: 0 additions & 29 deletions
This file was deleted.
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
on:
2+
push:
3+
branches:
4+
- main
5+
pull_request:
6+
branches:
7+
- main
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Checkout
14+
uses: actions/checkout@v4
15+
16+
- name: Setup Node
17+
uses: actions/setup-node@v4
18+
with:
19+
node-version: '20'
20+
cache: 'npm'
21+
registry-url: 'https://registry.npmjs.org'
22+
23+
- name: Install Dependencies
24+
run: npm ci
25+
26+
- name: Lint
27+
run: npm run lint
28+
29+
- name: Build
30+
run: npm run build
31+
32+
- name: Test
33+
run: npm test
34+
35+
- name: Publish
36+
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
37+
run: npm publish --access public
38+
env:
39+
NODE_AUTH_TOKEN: ${{ secrets.NPM_REGISTRY_TOKEN }}

.github/workflows/codeql.yml

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

0 commit comments

Comments
 (0)