| | |
| | | - name: Setup Node |
| | | uses: actions/setup-node@v4 |
| | | with: |
| | | node-version: 20 |
| | | node-version: 22 |
| | | |
| | | - name: Cache dependencies |
| | | uses: actions/cache@v4 |
| | |
| | | - name: Setup Node |
| | | uses: actions/setup-node@v4 |
| | | with: |
| | | node-version: 20 |
| | | node-version: 22 |
| | | |
| | | - name: Cache dependencies |
| | | uses: actions/cache@v4 |
| | |
| | | - name: Setup Node |
| | | uses: actions/setup-node@v4 |
| | | with: |
| | | node-version: 20 |
| | | node-version: 22 |
| | | - name: Get package version |
| | | run: node -p -e '`PACKAGE_VERSION=${require("./package.json").version}`' >> $GITHUB_ENV |
| | | - name: Create release tag |
| | |
| | | - build |
| | | - deploy |
| | | |
| | | image: node:20 |
| | | image: node:22 |
| | | cache: # Cache modules in between jobs |
| | | key: $CI_COMMIT_REF_SLUG |
| | | paths: |
| | |
| | | |
| | | ## 🪴 Get Started |
| | | |
| | | Quartz requires **at least [Node](https://nodejs.org/) v20** and `npm` v9.3.1 to function correctly. Ensure you have this installed on your machine before continuing. |
| | | Quartz requires **at least [Node](https://nodejs.org/) v22** and `npm` v10.9.2 to function correctly. Ensure you have this installed on your machine before continuing. |
| | | |
| | | Then, in your terminal of choice, enter the following commands line by line: |
| | | |
| | |
| | | { |
| | | "name": "@jackyzha0/quartz", |
| | | "version": "4.5.0", |
| | | "version": "4.5.1", |
| | | "lockfileVersion": 3, |
| | | "requires": true, |
| | | "packages": { |
| | | "": { |
| | | "name": "@jackyzha0/quartz", |
| | | "version": "4.5.0", |
| | | "version": "4.5.1", |
| | | "license": "MIT", |
| | | "dependencies": { |
| | | "@clack/prompts": "^0.11.0", |
| | |
| | | "typescript": "^5.8.3" |
| | | }, |
| | | "engines": { |
| | | "node": ">=20", |
| | | "npm": ">=9.3.1" |
| | | "node": ">=22", |
| | | "npm": ">=10.9.2" |
| | | } |
| | | }, |
| | | "node_modules/@bufbuild/protobuf": { |
| | |
| | | "name": "@jackyzha0/quartz", |
| | | "description": "🌱 publish your digital garden and notes as a website", |
| | | "private": true, |
| | | "version": "4.5.0", |
| | | "version": "4.5.1", |
| | | "type": "module", |
| | | "author": "jackyzha0 <j.zhao2k19@gmail.com>", |
| | | "license": "MIT", |
| | |
| | | "profile": "0x -D prof ./quartz/bootstrap-cli.mjs build --concurrency=1" |
| | | }, |
| | | "engines": { |
| | | "npm": ">=9.3.1", |
| | | "node": ">=20" |
| | | "npm": ">=10.9.2", |
| | | "node": ">=22" |
| | | }, |
| | | "keywords": [ |
| | | "site generator", |