Skip to content

Commit a28022f

Browse files
committed
release: bump version to 0.4.0 and add GitHub Actions workflow for testing
1 parent 0962d03 commit a28022f

File tree

3 files changed

+29
-3
lines changed

3 files changed

+29
-3
lines changed

.github/workflows/test.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Tests
2+
on:
3+
push:
4+
branches: [main]
5+
pull_request:
6+
branches: [main]
7+
8+
jobs:
9+
test:
10+
name: Tests
11+
timeout-minutes: 60
12+
runs-on: ubuntu-latest
13+
permissions:
14+
contents: read
15+
steps:
16+
- uses: actions/checkout@v5
17+
- uses: actions/setup-node@v5
18+
with:
19+
node-version-file: '.nvmrc'
20+
cache: 'npm'
21+
cache-dependency-path: './package-lock.json'
22+
- name: Install dependencies
23+
run: npm i
24+
25+
- name: Test
26+
run: npm run test

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "fast-json-format",
3-
"version": "0.3.0",
3+
"version": "0.4.0",
44
"description": "Fast JSON formatting library",
55
"main": "src/index.js",
66
"keywords": [

0 commit comments

Comments
 (0)