Skip to content

Commit 4a497a9

Browse files
authored
test global (#101)
1 parent 8854307 commit 4a497a9

File tree

1 file changed

+33
-1
lines changed

1 file changed

+33
-1
lines changed

.github/workflows/ci.yml

Lines changed: 33 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
permissions: {}
1010

1111
jobs:
12-
test-lint-build:
12+
ci:
1313
timeout-minutes: 5
1414
permissions:
1515
contents: read
@@ -47,3 +47,35 @@ jobs:
4747
echo "❌ Build artifacts not found"
4848
exit 1
4949
fi
50+
51+
global:
52+
timeout-minutes: 5
53+
permissions:
54+
contents: read
55+
packages: read
56+
57+
strategy:
58+
fail-fast: false
59+
matrix:
60+
os: [ubuntu-latest, macos-latest, windows-latest]
61+
62+
runs-on: ${{ matrix.os }}
63+
64+
steps:
65+
- name: Checkout code
66+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
67+
68+
- uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
69+
with:
70+
node-version: 'lts/*'
71+
registry-url: 'https://npm.pkg.github.com'
72+
scope: '@voidzero-dev'
73+
package-manager-cache: false
74+
75+
- run: npm install -g @voidzero-dev/global
76+
env:
77+
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
78+
79+
- run: vite fmt -c oxfmtrc.json --check
80+
81+
- run: vite lint -c oxlintrc.json

0 commit comments

Comments
 (0)