Skip to content

Commit

Permalink
Update workflow wording
Browse files Browse the repository at this point in the history
  • Loading branch information
Saltssaumure committed Oct 22, 2023
1 parent 126f442 commit e9988d2
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 21 deletions.
1 change: 0 additions & 1 deletion .github/FUNDING.yml

This file was deleted.

21 changes: 11 additions & 10 deletions .github/workflows/bd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: "./"
8 changes: 4 additions & 4 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
13 changes: 7 additions & 6 deletions .github/workflows/rp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e9988d2

Please sign in to comment.