Skip to content

Commit

Permalink
feat: add univer ci image build
Browse files Browse the repository at this point in the history
  • Loading branch information
zsq1234 committed Aug 5, 2024
1 parent c6e9512 commit e6f1016
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions .github/workflows/ci-univer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,48 @@ jobs:
echo "DOCKER_TAG: ${DOCKER_TAG}"
echo "gh-docker-tag=${DOCKER_TAG}" >> $GITHUB_OUTPUT
packages-build:
name: 📦 Build Packages
needs: [release-versions]
runs-on: ubuntu-20.04
steps:
- name: Github Info
run: |
echo "GITHUB_ACTION: $GITHUB_ACTION"
echo "GITHUB_ACTOR: $GITHUB_ACTOR"
echo "GITHUB_REF: $GITHUB_REF"
echo "GITHUB_HEAD_REF: $GITHUB_HEAD_REF"
echo "GITHUB_BASE_REF: $GITHUB_BASE_REF"
echo "github.event_name: ${{ github.event_name }}"
cat $GITHUB_EVENT_PATH
- name: Set Swap Space
uses: pierotofy/set-swap-space@master
with:
swap-size-gb: 4

- uses: actions/checkout@v4

- name: Setup NodeJS
uses: ./.github/actions/setup-node
with:
node-version: ${{ needs.release-versions.outputs.node-version }}
cache-modules: true
install: true

- name: Cache vite
uses: actions/cache@v3
with:
path: ./node_modules/.vite
key: vite-local-cache-${{ runner.OS }}-${{ hashFiles('package.json') }}
restore-keys: |
vite-local-cache-${{ runner.os }}-
- uses: dtinth/setup-github-actions-caching-for-turbo@v1

- name: Build Rocket.Chat Packages
run: yarn build

build:
name: 📦 Meteor Build - coverage
needs: [release-versions, packages-build]
Expand Down

0 comments on commit e6f1016

Please sign in to comment.