Skip to content

Commit

Permalink
init v4 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
Enubia committed Feb 7, 2025
1 parent db5cf49 commit c76a501
Show file tree
Hide file tree
Showing 184 changed files with 1,394 additions and 19,345 deletions.
78 changes: 39 additions & 39 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,40 +1,40 @@
name: Build

on:
push:
branches:
- "**"
- "!main"
pull_request:
branches:
- "**"
- "!main"

jobs:
CI:
runs-on: windows-latest

steps:
- name: Set git to use LF
run: |
git config --global core.autocrlf false
git config --global core.eol lf
- uses: actions/checkout@v4

- uses: pnpm/action-setup@v2
with:
version: latest

- uses: actions/setup-node@v4
with:
node-version: 20

- name: install dependencies
run: pnpm install --frozen-lockfile

- name: lint
run: pnpm lint
# name: Build

# on:
# push:
# branches:
# - "**"
# - "!main"
# pull_request:
# branches:
# - "**"
# - "!main"

# jobs:
# CI:
# runs-on: windows-latest

# steps:
# - name: Set git to use LF
# run: |
# git config --global core.autocrlf false
# git config --global core.eol lf

# - uses: actions/checkout@v4

# - uses: pnpm/action-setup@v2
# with:
# version: latest

# - uses: actions/setup-node@v4
# with:
# node-version: 20

# - name: install dependencies
# run: pnpm install --frozen-lockfile

# - name: lint
# run: pnpm lint

- name: build
run: pnpm build
# - name: build
# run: pnpm build
80 changes: 40 additions & 40 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,54 +1,54 @@
name: Release
# name: Release

on:
push:
tags:
- "v*"
workflow_dispatch:
# on:
# push:
# tags:
# - "v*"
# workflow_dispatch:

jobs:
release-windows:
runs-on: windows-latest
# jobs:
# release-windows:
# runs-on: windows-latest

steps:
- uses: actions/checkout@v4
# steps:
# - uses: actions/checkout@v4

- uses: pnpm/action-setup@v2
with:
version: latest
# - uses: pnpm/action-setup@v2
# with:
# version: latest

- uses: actions/setup-node@v4
with:
node-version: 20
# - uses: actions/setup-node@v4
# with:
# node-version: 20

- name: install dependencies
run: pnpm install --frozen-lockfile
# - name: install dependencies
# run: pnpm install --frozen-lockfile

- name: release artifacts
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: pnpm release
# - name: release artifacts
# env:
# GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# run: pnpm release

release-mac:
needs: release-windows
# release-mac:
# needs: release-windows

runs-on: macos-latest
# runs-on: macos-latest

steps:
- uses: actions/checkout@v4
# steps:
# - uses: actions/checkout@v4

- uses: pnpm/action-setup@v2
with:
version: latest
# - uses: pnpm/action-setup@v2
# with:
# version: latest

- uses: actions/setup-node@v4
with:
node-version: 20
# - uses: actions/setup-node@v4
# with:
# node-version: 20

- name: install dependencies
run: pnpm install --frozen-lockfile
# - name: install dependencies
# run: pnpm install --frozen-lockfile

- name: release artifacts
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: pnpm release
# - name: release artifacts
# env:
# GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# run: pnpm release
Loading

0 comments on commit c76a501

Please sign in to comment.