diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 99316678c..6935d224d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 }} diff --git a/.github/workflows/create-release-on-tag.yml b/.github/workflows/create-release-on-tag.yml index 42a5faee1..69fee1796 100644 --- a/.github/workflows/create-release-on-tag.yml +++ b/.github/workflows/create-release-on-tag.yml @@ -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 \ No newline at end of file +# 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