alpha
Login
or
Join now
flo-bit.dev
/
svelte-github-corner
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
[READ-ONLY] Mirror of https://github.com/flo-bit/svelte-github-corner.
flo-bit.dev/svelte-github-corner/
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
switch to node, add debug
author
Florian
date
2 years ago
(Dec 5, 2024, 9:48 PM +0100)
commit
3cf449f0
3cf449f0de364b64bba85a69cd1221c56f661d68
parent
6f891cbb
6f891cbb80ee93cfb5224515a18287c6484f6c8a
+16
-9
2 changed files
Expand all
Collapse all
Unified
Split
.github
workflows
deploy_gh_pages.yml
package.json
+12
-9
.github/workflows/deploy_gh_pages.yml
View file
Reviewed
···
12
12
- name: Checkout
13
13
uses: actions/checkout@v3
14
14
15
15
-
- name: Install Bun
16
16
-
uses: oven-sh/setup-bun@v1
15
15
+
- name: Setup Node.js
16
16
+
uses: actions/setup-node@v3
17
17
with:
18
18
-
bun-version: latest
19
19
-
cache: true
18
18
+
node-version: '16' # Or the version your project needs
19
19
+
cache: 'npm'
20
20
21
21
- name: Install dependencies
22
22
-
run: bun install
22
22
+
run: npm ci
23
23
24
24
- name: Build
25
25
env:
26
26
BASE_PATH: '/${{ github.event.repository.name }}'
27
27
-
run: bun run build
27
27
+
run: npm run build
28
28
29
29
- name: Upload Artifacts
30
30
uses: actions/upload-pages-artifact@v2
···
32
32
# This should match the `pages` option in your adapter-static options
33
33
path: 'build/'
34
34
35
35
+
- name: Debug npm auth
36
36
+
run: |
37
37
+
echo "Auth token length: ${#NODE_AUTH_TOKEN}"
38
38
+
echo "Registry: $(npm get registry)"
39
39
+
35
40
- name: Publish to NPM
36
41
env:
37
42
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
38
38
-
run: |
39
39
-
npm install
40
40
-
npm publish --access public
43
43
+
run: npm publish --access public
41
44
42
45
deploy:
43
46
needs: build_site
+4
package.json
View file
Reviewed
···
1
1
{
2
2
"name": "svelte-github-corner",
3
3
"version": "0.0.1",
4
4
+
"author": "flo-bit",
5
5
+
"publishConfig": {
6
6
+
"registry": "https://registry.npmjs.org/"
7
7
+
},
4
8
"scripts": {
5
9
"dev": "vite dev",
6
10
"build": "vite build && npm run package",