Skip to content

Commit

Permalink
feat: bootstrap releases (#402)
Browse files Browse the repository at this point in the history
  • Loading branch information
fynnfeldpausch authored Oct 16, 2023
1 parent 6ecf9b0 commit 70c28a8
Show file tree
Hide file tree
Showing 9 changed files with 334 additions and 255 deletions.
60 changes: 30 additions & 30 deletions .github/workflows/angular.yml
Original file line number Diff line number Diff line change
@@ -1,30 +1,30 @@
name: 'Angular'
on:
push:
branches:
- '*'
paths:
- 'angular/**'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
version: 8
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version-file: .nvmrc
cache: pnpm
cache-dependency-path: pnpm-lock.yaml
- name: Install and Build
run: |
pnpm install
pnpm run build:tokens
pnpm run build:core
pnpm run build:angular
pnpm run build:angular-formly
# name: 'Angular'
# on:
# push:
# branches:
# - '*'
# paths:
# - 'angular/**'
# jobs:
# build:
# runs-on: ubuntu-latest
# steps:
# - name: Checkout
# uses: actions/checkout@v3
# - name: Setup pnpm
# uses: pnpm/action-setup@v2
# with:
# version: 8
# - name: Setup Node
# uses: actions/setup-node@v3
# with:
# node-version-file: .nvmrc
# cache: pnpm
# cache-dependency-path: pnpm-lock.yaml
# - name: Install and Build
# run: |
# pnpm install
# pnpm run build:tokens
# pnpm run build:core
# pnpm run build:angular
# pnpm run build:angular-formly
214 changes: 107 additions & 107 deletions .github/workflows/core.yml
Original file line number Diff line number Diff line change
@@ -1,107 +1,107 @@
name: 'Core'
on:
push:
branches:
- '*'
paths:
- 'core/**'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
version: 8
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version-file: .nvmrc
cache: pnpm
cache-dependency-path: pnpm-lock.yaml
- name: Install and Build
run: |
pnpm install
pnpm run build:tokens
pnpm run build:core
prettier:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
version: 8
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version-file: .nvmrc
cache: pnpm
cache-dependency-path: pnpm-lock.yaml
- name: Install and Check
run: |
pnpm install
pnpm --filter @haiilo/catalyst run prettier:check
eslint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
version: 8
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version-file: .nvmrc
cache: pnpm
cache-dependency-path: pnpm-lock.yaml
- name: Install and Lint
run: |
pnpm install
pnpm --filter @haiilo/catalyst run lint
stylelint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
version: 8
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version-file: .nvmrc
cache: pnpm
cache-dependency-path: pnpm-lock.yaml
- name: Install and Lint
run: |
pnpm install
pnpm --filter @haiilo/catalyst run lint:style
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
version: 8
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version-file: .nvmrc
cache: pnpm
cache-dependency-path: pnpm-lock.yaml
- name: Install Chrome
run: sudo apt-get install -y google-chrome-stable
- name: Install and Test
run: |
pnpm install
pnpm run build:tokens
pnpm --filter @haiilo/catalyst run test
# name: 'Core'
# on:
# push:
# branches:
# - '*'
# paths:
# - 'core/**'
# jobs:
# build:
# runs-on: ubuntu-latest
# steps:
# - name: Checkout
# uses: actions/checkout@v3
# - name: Setup pnpm
# uses: pnpm/action-setup@v2
# with:
# version: 8
# - name: Setup Node
# uses: actions/setup-node@v3
# with:
# node-version-file: .nvmrc
# cache: pnpm
# cache-dependency-path: pnpm-lock.yaml
# - name: Install and Build
# run: |
# pnpm install
# pnpm run build:tokens
# pnpm run build:core
# prettier:
# runs-on: ubuntu-latest
# steps:
# - name: Checkout
# uses: actions/checkout@v3
# - name: Setup pnpm
# uses: pnpm/action-setup@v2
# with:
# version: 8
# - name: Setup Node
# uses: actions/setup-node@v3
# with:
# node-version-file: .nvmrc
# cache: pnpm
# cache-dependency-path: pnpm-lock.yaml
# - name: Install and Check
# run: |
# pnpm install
# pnpm --filter @haiilo/catalyst run prettier:check
# eslint:
# runs-on: ubuntu-latest
# steps:
# - name: Checkout
# uses: actions/checkout@v3
# - name: Setup pnpm
# uses: pnpm/action-setup@v2
# with:
# version: 8
# - name: Setup Node
# uses: actions/setup-node@v3
# with:
# node-version-file: .nvmrc
# cache: pnpm
# cache-dependency-path: pnpm-lock.yaml
# - name: Install and Lint
# run: |
# pnpm install
# pnpm --filter @haiilo/catalyst run lint
# stylelint:
# runs-on: ubuntu-latest
# steps:
# - name: Checkout
# uses: actions/checkout@v3
# - name: Setup pnpm
# uses: pnpm/action-setup@v2
# with:
# version: 8
# - name: Setup Node
# uses: actions/setup-node@v3
# with:
# node-version-file: .nvmrc
# cache: pnpm
# cache-dependency-path: pnpm-lock.yaml
# - name: Install and Lint
# run: |
# pnpm install
# pnpm --filter @haiilo/catalyst run lint:style
# test:
# runs-on: ubuntu-latest
# steps:
# - name: Checkout
# uses: actions/checkout@v3
# - name: Setup pnpm
# uses: pnpm/action-setup@v2
# with:
# version: 8
# - name: Setup Node
# uses: actions/setup-node@v3
# with:
# node-version-file: .nvmrc
# cache: pnpm
# cache-dependency-path: pnpm-lock.yaml
# - name: Install Chrome
# run: sudo apt-get install -y google-chrome-stable
# - name: Install and Test
# run: |
# pnpm install
# pnpm run build:tokens
# pnpm --filter @haiilo/catalyst run test
82 changes: 41 additions & 41 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,41 +1,41 @@
name: 'Deploy'
on:
push:
branches:
- main
paths:
- 'core/**'
jobs:
gh-pages:
concurrency: ci-${{ github.ref }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
version: 8
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version-file: .nvmrc
cache: pnpm
cache-dependency-path: pnpm-lock.yaml
- name: Install and Build
run: |
pnpm install
pnpm run build:tokens
pnpm run build:core
- name: Find and Replace
uses: jacobtomlinson/gha-find-replace@v2
with:
find: '/build/'
replace: 'https://haiilo.github.io/catalyst/build/'
regex: false
include: core/www/index.html
- name: Deploy
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: core/www
# name: 'Deploy'
# on:
# push:
# branches:
# - main
# paths:
# - 'core/**'
# jobs:
# gh-pages:
# concurrency: ci-${{ github.ref }}
# runs-on: ubuntu-latest
# steps:
# - name: Checkout
# uses: actions/checkout@v3
# - name: Setup pnpm
# uses: pnpm/action-setup@v2
# with:
# version: 8
# - name: Setup Node
# uses: actions/setup-node@v3
# with:
# node-version-file: .nvmrc
# cache: pnpm
# cache-dependency-path: pnpm-lock.yaml
# - name: Install and Build
# run: |
# pnpm install
# pnpm run build:tokens
# pnpm run build:core
# - name: Find and Replace
# uses: jacobtomlinson/gha-find-replace@v2
# with:
# find: '/build/'
# replace: 'https://haiilo.github.io/catalyst/build/'
# regex: false
# include: core/www/index.html
# - name: Deploy
# uses: JamesIves/[email protected]
# with:
# branch: gh-pages
# folder: core/www
Loading

0 comments on commit 70c28a8

Please sign in to comment.