File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44 workflow_dispatch :
55 schedule :
66 # Run once a month at midnight on the first day
7- - cron : ' 0 0 1 * *'
7+ - cron : " 0 0 1 * *"
88
99jobs :
1010 compare-and-bump :
1919 with :
2020 node-version : lts/*
2121 cache : npm
22- registry-url : ' https://registry.npmjs.org'
22+ registry-url : " https://registry.npmjs.org"
2323
2424 - name : Install dependencies
2525 run : npm ci
@@ -32,12 +32,12 @@ jobs:
3232 run : |
3333 # Create temp directory and set paths
3434 TMP_DIR=$(mktemp -d)
35-
35+
3636 # Fetch package from npm and extract index.js
3737 PACKAGE_URL=$(npm view unicode-case-folding dist.tarball)
3838 curl -sL "$PACKAGE_URL" -o "$TMP_DIR/package.tgz"
3939 tar -xzf "$TMP_DIR/package.tgz" -C "$TMP_DIR"
40-
40+
4141 # Compare files and set output
4242 if diff -q "index.js" "$TMP_DIR/package/index.js"; then
4343 echo "result=same" >> $GITHUB_OUTPUT
@@ -51,10 +51,10 @@ jobs:
5151 # Configure Git
5252 git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
5353 git config --local user.name "github-actions[bot]"
54-
54+
5555 # Get current version and bump patch
5656 npm version patch -m "Bump version to %s"
5757 npm publish
58-
58+
5959 # Push changes back to the repository
60- git push
60+ git push
Original file line number Diff line number Diff line change 4242 - name : Install dependencies
4343 run : npm ci
4444
45+ - name : Build library
46+ run : npm run build
47+
4548 - name : Run tests
4649 run : npm test
You can’t perform that action at this time.
0 commit comments