Skip to content

Commit 8e27def

Browse files
committed
0.15.0
1 parent 892542f commit 8e27def

File tree

5 files changed

+3728
-1367
lines changed

5 files changed

+3728
-1367
lines changed

.github/workflows/build.yml

Lines changed: 34 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -20,38 +20,37 @@ jobs:
2020
runs-on: ubuntu-latest
2121

2222
steps:
23-
- name: Checkout repository
24-
uses: actions/checkout@v4
25-
26-
- name: Set up Node.js
27-
uses: actions/setup-node@v4
28-
with:
29-
node-version: '20'
30-
registry-url: https://registry.npmjs.org/
31-
32-
- name: Install dependencies
33-
run: npm ci
34-
35-
- name: Build the project
36-
run: npm run build
37-
38-
- name: Run tests
39-
run: npm test
40-
41-
- name: Deploy to GitHub Pages
42-
continue-on-error: true
43-
env:
44-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
45-
run: |
46-
git config --global user.name 'github-actions[bot]'
47-
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
48-
git add dist
49-
git commit -m 'Update dist' dist/*
50-
git push origin main
51-
52-
- name: Publish to npm
53-
env:
54-
NODE_AUTH_TOKEN: ${{secrets.NPMJS_TOKEN}}
55-
run: npm publish
56-
continue-on-error: true
57-
23+
- name: Checkout repository
24+
uses: actions/checkout@v6
25+
26+
- name: Set up Node.js
27+
uses: actions/setup-node@v6
28+
with:
29+
node-version: "22"
30+
registry-url: https://registry.npmjs.org/
31+
32+
- name: Install dependencies
33+
run: npm ci
34+
35+
- name: Build the project
36+
run: npm run build
37+
38+
- name: Run tests
39+
run: npm test
40+
41+
- name: Deploy to GitHub Pages
42+
continue-on-error: true
43+
env:
44+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
45+
run: |
46+
git config --global user.name 'github-actions[bot]'
47+
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
48+
git add dist
49+
git commit -m 'Update dist' dist/*
50+
git push origin main
51+
52+
- name: Publish to npm
53+
env:
54+
NODE_AUTH_TOKEN: ${{secrets.NPMJS_TOKEN}}
55+
run: npm publish
56+
continue-on-error: true

0 commit comments

Comments
 (0)