Skip to content
This repository has been archived by the owner on Jul 2, 2024. It is now read-only.

Commit

Permalink
ci: use fluentci-io/setup-fluentci@v1 action
Browse files Browse the repository at this point in the history
  • Loading branch information
tsirysndr committed Nov 1, 2023
1 parent dd29db2 commit 3952322
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 26 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/chromatic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,13 @@ jobs:
# Job steps
steps:
- uses: actions/checkout@v1
- uses: oven-sh/setup-bun@v1
with:
bun-version: latest
- name: Install dependencies
run: cd ./crates/webui/webui && bun install
- name: Setup Fluent CI
uses: fluentci-io/setup-fluentci@v1
# 👇 Adds Chromatic as a step in the workflow
- name: Publish to Chromatic
run: cd ./crates/webui/webui && bun run build-storybook && bun run chromatic -- --project-token=${{ secrets.CHROMATIC_PROJECT_TOKEN }} --exit-zero-on-changes
run: |
cp -r ../../../.git .
fluentci run chromatic_pipeline publish
working-directory: ./crates/webui/webui
env:
CHROMATIC_PROJECT_TOKEN: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
12 changes: 2 additions & 10 deletions .github/workflows/release-for-mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,8 @@ jobs:
extensions: tar.gz tar.gz.sha256

steps:
- uses: denoland/setup-deno@v1
with:
deno-version: v1.37
- name: Setup Fluent CI CLI
run: deno install -A -r https://cli.fluentci.io -n fluentci
- name: Setup Dagger
run: |
curl -L https://dl.dagger.io/dagger/install.sh | DAGGER_VERSION=0.8.8 sh
sudo mv bin/dagger /usr/local/bin
dagger version
- name: Setup Fluent CI
uses: fluentci-io/setup-fluentci@v1
- name: Installing needed dependencies
run: brew install protobuf
- name: Installing Rust toolchain
Expand Down
12 changes: 2 additions & 10 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,8 @@ jobs:
extensions: tar.gz tar.gz.sha256
steps:
- uses: actions/checkout@v3
- uses: denoland/setup-deno@v1
with:
deno-version: v1.37
- name: Setup Fluent CI CLI
run: deno install -A -r https://cli.fluentci.io -n fluentci
- name: Setup Dagger
run: |
curl -L https://dl.dagger.io/dagger/install.sh | DAGGER_VERSION=0.8.8 sh
sudo mv bin/dagger /usr/local/bin
dagger version
- name: Setup Fluent CI
uses: fluentci-io/setup-fluentci@v1
- name: Set env
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
- name: Build
Expand Down

0 comments on commit 3952322

Please sign in to comment.