diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml deleted file mode 100644 index 7444170..0000000 --- a/.github/FUNDING.yml +++ /dev/null @@ -1 +0,0 @@ -ko_fi: saltssaumure diff --git a/.github/workflows/bd.yml b/.github/workflows/bd.yml index 9c95075..b807e4a 100644 --- a/.github/workflows/bd.yml +++ b/.github/workflows/bd.yml @@ -4,35 +4,36 @@ on: push: branches: - main + - master jobs: build: - name: "Build CSS" - runs-on: "ubuntu-latest" + name: Build CSS + runs-on: ubuntu-latest steps: - - name: Checkout Git repository - uses: "actions/checkout@v2" + - name: Checkout theme + uses: actions/checkout@v2 - - name: Set up Node.js + - name: Setup node uses: actions/setup-node@v3 with: node-version: 18 - - name: Install PNPM + - name: Setup pnpm uses: pnpm/action-setup@v2 with: version: latest - - name: Install Node.js dependencies + - name: Install dependencies run: pnpm install - name: Build CSS run: pnpm run bd - - name: "Deploy" - uses: "peaceiris/actions-gh-pages@v3" + - name: Deploy + uses: peaceiris/actions-gh-pages@v3 with: github_token: ${{ secrets.GITHUB_TOKEN }} - publish_branch: "deploy" + publish_branch: deploy publish_dir: "./" \ No newline at end of file diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 2656bcf..7290c29 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -12,20 +12,20 @@ jobs: runs-on: ubuntu-latest steps: - - name: Checkout Git repository + - name: Checkout theme uses: actions/checkout@v2 - - name: Set up Node.js + - name: Setup node uses: actions/setup-node@v3 with: node-version: 18 - - name: Install PNPM + - name: Setup pnpm uses: pnpm/action-setup@v2 with: version: latest - - name: Install Node.js dependencies + - name: Install dependencies run: pnpm install - name: Run linters diff --git a/.github/workflows/rp.yml b/.github/workflows/rp.yml index 0e394d2..f6c99fc 100644 --- a/.github/workflows/rp.yml +++ b/.github/workflows/rp.yml @@ -13,26 +13,27 @@ jobs: contents: write steps: - - name: Checkout Git repository + - name: Checkout theme uses: actions/checkout@v2 - - name: Set up Node.js + - name: Setup node uses: actions/setup-node@v3 with: node-version: 18 - - name: Install PNPM + - name: Setup pnpm uses: pnpm/action-setup@v2 with: version: latest - - name: Install Node.js dependencies + - name: Install dependencies run: pnpm install - - name: Build TypeScript and bundle into asar + - name: Build and bundle theme into .asar run: pnpm run rp - - uses: ncipollo/release-action@v1 + - name: Release bundled asar, json, and theme.css + uses: ncipollo/release-action@v1 with: artifacts: "bundle/*, *.theme.css" makeLatest: true