Skip to content

Commit 4e9b946

Browse files
committed
Merge branch 'master' of https://github.com/sancarn/stdVBA
2 parents 9ea7be6 + 4443944 commit 4e9b946

File tree

17 files changed

+1142
-143
lines changed

17 files changed

+1142
-143
lines changed
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
on:
2+
push:
3+
branches:
4+
- master
5+
workflow_dispatch:
6+
7+
permissions:
8+
contents: write # ← allow the token to push
9+
10+
jobs:
11+
error-enwrap:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: Checkout repo
15+
uses: actions/checkout@v3
16+
with:
17+
fetch-depth: 0 # full history → push works
18+
19+
- name: Setup Node 20
20+
uses: actions/setup-node@v4
21+
with:
22+
node-version: "20"
23+
24+
- name: Run stdError wrapper
25+
run: node ./Tools/VBA-stdError-Wrapper/main.js
26+
27+
- name: Commit + force-push to stdError-Wrapped
28+
run: |
29+
set -euo pipefail
30+
set -x
31+
32+
echo " == Configure git =="
33+
git config --global user.name "GitHub Actions Bot"
34+
git config --global user.email "actions@github.com"
35+
36+
echo "== Current status =="
37+
git status -s
38+
39+
echo " == Add changes =="
40+
git add -A
41+
git commit -m "Wrapped latest changes in stdError sentries" || echo "No changes to commit"
42+
git log -1 --oneline
43+
44+
echo "== Force-push =="
45+
git push --verbose origin +HEAD:stdError-Wrapped

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
*.DS_Store
2-
Tools/VBDocsGen/node_modules/*
2+
Tools/*/node_modules/*
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
esbuild main.ts --outfile=main.js --bundle --platform=node --target=esnext --format=cjs --sourcemap

Tools/VBA-stdError-Wrapper/main.js

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

Tools/VBA-stdError-Wrapper/main.js.map

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

0 commit comments

Comments
 (0)