Skip to content

Commit 410501c

Browse files
committed
Release v26.2.1
New Features: - Add %ui plugin to init app with conf (Lauri Rooden) Enhancements: - Improve debug mode info (Lauri Rooden) - binding/each: Handle objects (Lauri Rooden) - Rename example elements (Lauri Rooden)
1 parent fc05c56 commit 410501c

2 files changed

Lines changed: 24 additions & 38 deletions

File tree

.github/workflows/test.yml

Lines changed: 22 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -4,53 +4,39 @@ jobs:
44
Coverage:
55
runs-on: ubuntu-latest
66
steps:
7-
- uses: actions/checkout@v4
8-
- uses: actions/setup-node@v4
7+
- uses: actions/checkout@v5
8+
- uses: actions/setup-node@v5
99
- run: npm install --no-audit && npm install -g uglify-js
1010
- run: npm audit --audit-level=low
1111
- run: npx c8 -r lcovonly -r text npm test
1212
- run: npx lj lint
1313
- uses: coverallsapp/github-action@v2
1414
name: Upload to coveralls.io
15+
continue-on-error: true
1516
with:
1617
github-token: ${{ github.token }}
17-
Analyze:
18-
runs-on: ubuntu-latest
18+
Test:
19+
strategy:
20+
matrix:
21+
include:
22+
- { node: 20, os: windows-2022, arch: x86 }
23+
- { node: 22, os: macos-latest, arch: arm64 }
24+
runs-on: ${{ matrix.os }}
25+
name: Node ${{matrix.node}} (${{matrix.os}} ${{matrix.arch}})
1926
steps:
20-
- uses: actions/checkout@v4
21-
- uses: github/codeql-action/init@v3
22-
with:
23-
languages: javascript
24-
- uses: github/codeql-action/analyze@v3
27+
- run: git config --global core.autocrlf false
28+
- uses: actions/checkout@v5
29+
- uses: actions/setup-node@v5
2530
with:
26-
category: /language:javascript
31+
node-version: ${{ matrix.node }}
32+
architecture: ${{ matrix.arch }}
33+
- run: npm install --no-audit && npm install -g uglify-js
34+
- run: npm test
35+
Analyze:
36+
uses: litejs/.github/.github/workflows/analyze.yml@main
2737
Release:
2838
if: startsWith(github.ref, 'refs/tags/v')
2939
needs: [Analyze, Coverage]
30-
runs-on: ubuntu-latest
31-
steps:
32-
- uses: actions/checkout@v4
33-
with:
34-
ref: ${{ github.ref }}
35-
- run: |
36-
echo '${{ vars.RELEASE_SIGNERS }}' > ./allowed_signers
37-
git config gpg.ssh.allowedSignersFile ./allowed_signers
38-
git verify-tag -v ${{ github.ref_name }}
39-
name: Verify release tag signature
40-
- uses: actions/setup-node@v4
41-
with:
42-
registry-url: https://registry.npmjs.org/
43-
- run: |
44-
MSG=$(git log -1 --no-show-signature --format=%B $TAG)
45-
TITLE=$(echo "$MSG" | head -n 1)
46-
NOTES=$(echo "$MSG" | tail -n +2)
47-
gh release create $TAG --title "$TITLE" --notes "$NOTES"
48-
gh run list --json databaseId -q '.[20:]|.[].databaseId' --limit 100 | xargs -I{} gh run delete "{}"
49-
[[ "$TAG" =~ ^v[0-9]+\.[0-9]+\.[0-9]+$ ]] && echo "PUBLISH=latest" >> $GITHUB_ENV || echo "PUBLISH=next" >> $GITHUB_ENV
50-
env:
51-
GH_TOKEN: ${{ github.token }}
52-
TAG: ${{ github.ref_name }}
53-
- run: npm publish --access public --tag $PUBLISH
54-
env:
55-
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
40+
uses: litejs/.github/.github/workflows/release.yml@main
41+
secrets: inherit
5642

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@litejs/ui",
3-
"version": "26.2.0",
3+
"version": "26.2.1",
44
"description": "UI engine for LiteJS full-stack framework",
55
"license": "MIT",
66
"author": "Lauri Rooden <lauri@rooden.ee>",
@@ -27,6 +27,6 @@
2727
"test": "lj t test/index.js"
2828
},
2929
"devDependencies": {
30-
"@litejs/cli": "26.2.1"
30+
"@litejs/cli": "26.2.3"
3131
}
3232
}

0 commit comments

Comments
 (0)