Update to use pnpm instead of npm #7
@ -1,5 +1,5 @@
|
||||
name: Build
|
||||
on:
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
@ -7,27 +7,38 @@ on:
|
||||
branches:
|
||||
- master
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: 🔧 Setup node
|
||||
- name: Checkout project
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: 🔧 Install pnpm
|
||||
uses: https://github.com/pnpm/action-setup@v4
|
||||
with:
|
||||
version: 9
|
||||
run_install: false
|
||||
|
||||
- name: 🔧 Install node
|
||||
uses: https://github.com/actions/setup-node@v4
|
||||
with:
|
||||
node-version: '18.0.x'
|
||||
- name: 🧱 Install node packages
|
||||
run: npm ci
|
||||
- name: ✅ svelte-check
|
||||
run: npm run check
|
||||
node-version: 20
|
||||
cache: pnpm
|
||||
|
||||
- name: 🧱 Install packages
|
||||
run: pnpm install
|
||||
|
||||
- name: ✅ Check project
|
||||
run: pnpm run check
|
||||
|
||||
- name: 🔨 Build project
|
||||
run: npm run build
|
||||
- name: upload artifact
|
||||
run: pnpm run build
|
||||
|
||||
- name: Upload artifact
|
||||
run: |
|
||||
tar -czf build.tar.gz build
|
||||
curl --user minijack:${{ secrets.PACKAGE_TOKEN }} \
|
||||
--upload-file build.tar.gz \
|
||||
https://git.quartznet.info/api/packages/quartznet/generic/artifacts/ref-${{ gitea.sha }}/build-${{ gitea.sha }}.tar.gz
|
||||
echo https://git.quartznet.info/api/packages/quartznet/generic/artifacts/ref-${{ gitea.sha }}/build-${{ gitea.sha }}.tar.gz
|
||||
echo https://git.quartznet.info/api/packages/quartznet/generic/artifacts/ref-${{ gitea.sha }}/build-${{ gitea.sha }}.tar.gz
|
||||
|
13
README.md
13
README.md
@ -1,17 +1,12 @@
|
||||
# quartznet.info
|
||||
|
||||
This is our main website where you can find information about us and what we do.
|
||||
This website is a work in progress and subject to change.
|
||||
Main website for quartznet.
|
||||
|
||||
## Building
|
||||
Work in progress and subject to change.
|
||||
|
||||
1. `npm install`
|
||||
1. `pnpm install`
|
||||
|
||||
2. `npm run build`
|
||||
|
||||
## Serving
|
||||
|
||||
1. `npm run dev`
|
||||
2. `pnpm run dev`
|
||||
|
||||
## License
|
||||
|
||||
|
2109
package-lock.json
generated
2109
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
17
package.json
17
package.json
@ -9,14 +9,15 @@
|
||||
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@sveltejs/adapter-static": "^3.0.1",
|
||||
"@sveltejs/kit": "^2.5.10",
|
||||
"svelte": "^4.2.17",
|
||||
"svelte-check": "^3.8.0",
|
||||
"svelte-preprocess": "^5.1.4",
|
||||
"tslib": "^2.6.2",
|
||||
"typescript": "^5.4.5",
|
||||
"vite": "^5.2.12"
|
||||
"@sveltejs/adapter-static": "^3.0.4",
|
||||
"@sveltejs/kit": "^2.5.25",
|
||||
"@sveltejs/vite-plugin-svelte": "^3.1.2",
|
||||
"svelte": "^4.2.19",
|
||||
"svelte-check": "^3.8.6",
|
||||
"svelte-preprocess": "^6.0.2",
|
||||
"tslib": "^2.7.0",
|
||||
"typescript": "^5.5.4",
|
||||
"vite": "^5.4.2"
|
||||
},
|
||||
"type": "module"
|
||||
}
|
||||
|
1282
pnpm-lock.yaml
generated
Normal file
1282
pnpm-lock.yaml
generated
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user