The Trans Directory
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

chore: remove upstream Quartz CI/CD workflow files

aria 643c8dd4 f4bcec9d

-115
-43
.github/workflows/build-preview.yaml
··· 1 - name: Build Preview Deployment 2 - 3 - on: 4 - pull_request: 5 - types: [opened, synchronize] 6 - workflow_dispatch: 7 - 8 - jobs: 9 - build-preview: 10 - if: ${{ github.repository == 'jackyzha0/quartz' }} 11 - runs-on: ubuntu-latest 12 - name: Build Preview 13 - steps: 14 - - uses: actions/checkout@v5 15 - with: 16 - fetch-depth: 0 17 - 18 - - name: Setup Node 19 - uses: actions/setup-node@v4 20 - with: 21 - node-version: 22 22 - 23 - - name: Cache dependencies 24 - uses: actions/cache@v4 25 - with: 26 - path: ~/.npm 27 - key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} 28 - restore-keys: | 29 - ${{ runner.os }}-node- 30 - 31 - - run: npm ci 32 - 33 - - name: Check types and style 34 - run: npm run check 35 - 36 - - name: Build Quartz 37 - run: npx quartz build -d docs -v 38 - 39 - - name: Upload build artifact 40 - uses: actions/upload-artifact@v4 41 - with: 42 - name: preview-build 43 - path: public
-72
.github/workflows/ci.yaml
··· 1 - name: Build and Test 2 - 3 - on: 4 - pull_request: 5 - branches: 6 - - main 7 - push: 8 - branches: 9 - - main 10 - workflow_dispatch: 11 - 12 - jobs: 13 - build-and-test: 14 - if: ${{ github.repository == 'jackyzha0/quartz' }} 15 - strategy: 16 - matrix: 17 - os: [windows-latest, macos-latest, ubuntu-latest] 18 - runs-on: ${{ matrix.os }} 19 - permissions: 20 - contents: write 21 - steps: 22 - - uses: actions/checkout@v5 23 - with: 24 - fetch-depth: 0 25 - 26 - - name: Setup Node 27 - uses: actions/setup-node@v4 28 - with: 29 - node-version: 22 30 - 31 - - name: Cache dependencies 32 - uses: actions/cache@v4 33 - with: 34 - path: ~/.npm 35 - key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} 36 - restore-keys: | 37 - ${{ runner.os }}-node- 38 - 39 - - run: npm ci 40 - 41 - - name: Check types and style 42 - run: npm run check 43 - 44 - - name: Test 45 - run: npm test 46 - 47 - - name: Ensure Quartz builds, check bundle info 48 - run: npx quartz build --bundleInfo -d docs 49 - 50 - publish-tag: 51 - if: ${{ github.repository == 'jackyzha0/quartz' && github.ref == 'refs/heads/v4' }} 52 - runs-on: ubuntu-latest 53 - permissions: 54 - contents: write 55 - steps: 56 - - uses: actions/checkout@v5 57 - with: 58 - fetch-depth: 0 59 - - name: Setup Node 60 - uses: actions/setup-node@v4 61 - with: 62 - node-version: 22 63 - - name: Get package version 64 - run: node -p -e '`PACKAGE_VERSION=${require("./package.json").version}`' >> $GITHUB_ENV 65 - - name: Create release tag 66 - uses: pkgdeps/git-tag-action@v3 67 - with: 68 - github_token: ${{ secrets.GITHUB_TOKEN }} 69 - github_repo: ${{ github.repository }} 70 - version: ${{ env.PACKAGE_VERSION }} 71 - git_commit_sha: ${{ github.sha }} 72 - git_tag_prefix: "v"