Skip to content

Commit

Permalink
merge master -> lambda
Browse files Browse the repository at this point in the history
  • Loading branch information
ignatiusmb committed Sep 20, 2024
2 parents 7028075 + 4b7031a commit a1bc52b
Show file tree
Hide file tree
Showing 112 changed files with 3,440 additions and 2,151 deletions.
13 changes: 0 additions & 13 deletions .editorconfig

This file was deleted.

26 changes: 26 additions & 0 deletions .github/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
changelog:
exclude:
labels:
- release-ignore
categories:
- title: 🌟 Highlights
labels:
- highlight
- title: 🚨 Breaking Changes
labels:
- breaking
- title: 🏗️ Enhancements
labels:
- enhancement
- title: 🛠 Patches
labels:
- patch
- title: 🔃 Refactors
labels:
- refactor
- title: 📈 Dependencies
labels:
- dependencies
- title: 💡 Others
labels:
- '*'
19 changes: 19 additions & 0 deletions .github/workflows/package.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: PKG

on:
pull_request:

jobs:
sync:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: pnpm

- run: pnpm install
- working-directory: ./workspace/mauss
run: pnpm publish --dry-run --no-git-checks
42 changes: 42 additions & 0 deletions .github/workflows/pages.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: Pages

on:
push:
branches: [master]

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: pnpm

- run: pnpm install
- working-directory: ./workspace/website
run: pnpm build
env:
BASE_PATH: /${{ github.event.repository.name }}

- uses: actions/upload-pages-artifact@v3
with:
path: workspace/website/build

deploy:
needs: build
permissions:
pages: write
id-token: write

environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}

runs-on: ubuntu-latest
steps:
- uses: actions/deploy-pages@v4
id: deployment
19 changes: 9 additions & 10 deletions .github/workflows/quality.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,19 @@ name: QA

on:
push:
branches:
- master
branches: [master]
pull_request:

jobs:
check:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: 16
node-version: 20
cache: pnpm

- run: pnpm install
Expand All @@ -25,13 +24,13 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
node-version: [14, 16, 18]
node-version: [18, 20, 22]
os: [ubuntu-latest, windows-latest, macOS-latest]

steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: pnpm
Expand Down
24 changes: 14 additions & 10 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,26 @@ name: REL

on:
push:
tags:
- "v*"
branches-ignore:
- "**"
tags: ['v*']
branches-ignore: ['**']

jobs:
publish:
runs-on: ubuntu-latest
permissions:
id-token: write

steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: 16
registry-url: "https://registry.npmjs.org"
node-version: 20
registry-url: https://registry.npmjs.org

- run: pnpm install
- run: pnpm publish --no-git-checks
- working-directory: ./workspace/mauss
run: pnpm publish --no-git-checks
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NPM_CONFIG_PROVENANCE: true
3 changes: 0 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,2 @@
node_modules
.DS_Store

*.js
*.d.ts
3 changes: 0 additions & 3 deletions .npmignore

This file was deleted.

Loading

0 comments on commit a1bc52b

Please sign in to comment.