Skip to content

Commit

Permalink
v0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
linonetwo committed Dec 16, 2024
1 parent c3048dd commit fcf4cb2
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 19 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,6 @@ on:
- master
- main

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: write
pages: write
id-token: write

jobs:
deploy:
permissions:
Expand All @@ -21,12 +15,18 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: 18

- name: Setup NodeJS
uses: actions/setup-node@v2-beta
- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
node-version: '16'
version: 'latest'
run_install: false

- name: Cache dependencies
uses: actions/cache@v3
Expand All @@ -41,7 +41,7 @@ jobs:
${{ runner.os }}-node-
- name: Install Dependencies
run: npm install -g pnpm && pnpm install
run: pnpm install

- name: Build Library and static website
run: pnpm run publish
Expand Down
23 changes: 15 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ on:
branches:
- master
- main
tags:
- 'v*.*.*'
paths-ignore:
- 'README.md'
- 'wiki/**'
Expand All @@ -31,16 +29,25 @@ concurrency:

jobs:
Plugins:
permissions:
contents: write
pages: write
id-token: write
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: 18

- name: Setup NodeJS
uses: actions/setup-node@v2-beta
- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
node-version: '16'
version: 'latest'
run_install: false

- name: Cache dependencies
uses: actions/cache@v3
Expand All @@ -55,7 +62,7 @@ jobs:
${{ runner.os }}-node-
- name: Install Dependencies
run: npm install -g pnpm && pnpm install
run: pnpm install

- name: Build Plugins
run: pnpm run build
Expand Down

0 comments on commit fcf4cb2

Please sign in to comment.