-
Notifications
You must be signed in to change notification settings - Fork 575
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
54553ac
commit eefad96
Showing
2 changed files
with
80 additions
and
80 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,48 +1,48 @@ | ||
name: Node.js CI | ||
# name: Node.js CI | ||
|
||
on: push | ||
# on: push | ||
|
||
# # defaults: | ||
# # run: | ||
# # working-directory: packages/umbreld | ||
|
||
# # jobs: | ||
# # build: | ||
# # runs-on: ubuntu-latest | ||
# # strategy: | ||
# # fail-fast: false | ||
# # matrix: | ||
# # task: | ||
# # - format:check | ||
# # - lint | ||
# # - typecheck | ||
# # - test:unit -- --coverage | ||
# # - test:integration -- --coverage | ||
# # steps: | ||
# # - uses: actions/checkout@v3 | ||
# # - uses: actions/setup-node@v3 | ||
# # with: | ||
# # node-version: 18 | ||
# # - run: npm clean-install | ||
# # - run: npm run ${{ matrix.task }} | ||
|
||
# defaults: | ||
# run: | ||
# working-directory: packages/umbreld | ||
# working-directory: packages/os | ||
|
||
# jobs: | ||
# build: | ||
# runs-on: ubuntu-latest | ||
# build-os: | ||
# runs-on: release-runner-64 | ||
# strategy: | ||
# fail-fast: false | ||
# matrix: | ||
# task: | ||
# - format:check | ||
# - lint | ||
# - typecheck | ||
# - test:unit -- --coverage | ||
# - test:integration -- --coverage | ||
# - build:amd64 | ||
# - build:arm64 | ||
# steps: | ||
# - uses: actions/checkout@v3 | ||
# - uses: docker/setup-buildx-action@v2 | ||
# - uses: actions/setup-node@v3 | ||
# with: | ||
# node-version: 18 | ||
# - run: npm clean-install | ||
# - run: npm run ${{ matrix.task }} | ||
|
||
defaults: | ||
run: | ||
working-directory: packages/os | ||
|
||
jobs: | ||
build-os: | ||
runs-on: release-runner-64 | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
task: | ||
- build:amd64 | ||
- build:arm64 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: docker/setup-buildx-action@v2 | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: 18 | ||
- run: npm run ${{ matrix.task }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,48 +1,48 @@ | ||
name: Create release on tag | ||
|
||
on: | ||
push: | ||
tags: | ||
- '*' | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
defaults: | ||
run: | ||
working-directory: ./packages/umbreld | ||
steps: | ||
- name: Checkout codebase | ||
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 | ||
with: | ||
# We need this to get all commit history and tags to generate release notes | ||
fetch-depth: 0 | ||
|
||
- name: Setup Docker buildx | ||
run: docker buildx create --use | ||
|
||
- name: Install dependencies | ||
run: npm ci | ||
|
||
- name: Build release | ||
run: npm run build | ||
|
||
- name: Prepare release assets | ||
run: npm run prepare-release -- ${{ github.ref_name }} | ||
|
||
- name: Timestamp release | ||
continue-on-error: true | ||
run: npm run timestamp-release | ||
|
||
- name: Generate release notes | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
run: npm run generate-release-notes | ||
|
||
- name: Create GitHub Release | ||
uses: softprops/action-gh-release@de2c0eb89ae2a093876385947365aca7b0e5f844 # v0.1.15 | ||
with: | ||
draft: true | ||
name: umbrelOS ${{ github.ref_name }} | ||
files: server/release/* | ||
body_path: server/release-notes.md | ||
# name: Create release on tag | ||
|
||
# on: | ||
# push: | ||
# tags: | ||
# - '*' | ||
|
||
# jobs: | ||
# build: | ||
# runs-on: ubuntu-latest | ||
# defaults: | ||
# run: | ||
# working-directory: ./packages/umbreld | ||
# steps: | ||
# - name: Checkout codebase | ||
# uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 | ||
# with: | ||
# # We need this to get all commit history and tags to generate release notes | ||
# fetch-depth: 0 | ||
|
||
# - name: Setup Docker buildx | ||
# run: docker buildx create --use | ||
|
||
# - name: Install dependencies | ||
# run: npm ci | ||
|
||
# - name: Build release | ||
# run: npm run build | ||
|
||
# - name: Prepare release assets | ||
# run: npm run prepare-release -- ${{ github.ref_name }} | ||
|
||
# - name: Timestamp release | ||
# continue-on-error: true | ||
# run: npm run timestamp-release | ||
|
||
# - name: Generate release notes | ||
# env: | ||
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
# run: npm run generate-release-notes | ||
|
||
# - name: Create GitHub Release | ||
# uses: softprops/action-gh-release@de2c0eb89ae2a093876385947365aca7b0e5f844 # v0.1.15 | ||
# with: | ||
# draft: true | ||
# name: umbrelOS ${{ github.ref_name }} | ||
# files: server/release/* | ||
# body_path: server/release-notes.md |