File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,20 +10,28 @@ jobs:
1010 runs-on : ubuntu-latest
1111 steps :
1212 - name : Checkout code
13- uses : actions/checkout@v4
13+ uses : actions/checkout@v6
14+
15+ - name : Setup Node.js
16+ uses : actions/setup-node@v4
17+ with :
18+ node-version : 22
19+ cache : ' npm'
20+
21+ - name : Install deps and build
22+ run : |
23+ npm ci
24+ npm run build
25+
1426 - name : Create release
1527 id : create_release
16- uses : actions/create-release@v1
17- env :
18- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
28+ uses : softprops/action-gh-release@v3
1929 with :
20- tag_name : ${{ github.ref }}
21- release_name : Release ${{ github.ref }}
22- body : |
23- New Release :tada:
24- - Rename Darkify to Umbra
25- - Package: `@emrocode/umbra`
26- - Install with `npm install @emrocode/umbra`
27- - Breaking change: update imports and package name.
30+ name : Release ${{ github.ref_name }}
31+ body_path : CHANGELOG.md
2832 draft : false
29- prerelease : false
33+ prerelease : false
34+ files : |
35+ README.md
36+ LICENSE
37+ dist/**
Original file line number Diff line number Diff line change 1- name : Run tests
1+ name : Run test suites
22
33on :
44 push :
@@ -13,12 +13,13 @@ jobs:
1313 runs-on : ubuntu-latest
1414 steps :
1515 - name : Checkout code
16- uses : actions/checkout@v4
17- - name : Set up Node.js
18- uses : actions/setup-node@v4
16+ uses : actions/checkout@v6
17+
18+ - name : Setup Node.js
19+ uses : actions/setup-node@v6
1920 with :
2021 node-version : 22
21- - name : Install dependencies
22- run : npm ci
23- - name : Run tests
24- run : npm test
22+ cache : ' npm '
23+
24+ - run : npm ci
25+ - run : npm test
You can’t perform that action at this time.
0 commit comments