Skip to content

feat(ex/skate/detours): add activated_at column #2974

feat(ex/skate/detours): add activated_at column

feat(ex/skate/detours): add activated_at column #2974

Workflow file for this run

name: "Chromatic"
on:
workflow_dispatch:
pull_request:
types:
- synchronize
- labeled
push:
branches:
- main
jobs:
chromatic:
runs-on: ubuntu-latest
if: ${{ github.event_name != 'pull_request' || contains(github.event.pull_request.labels.*.name, 'chromatic') }}
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0 # 👈 Required to retrieve git history
- name: ASDF cache
uses: actions/cache@v4
with:
path: ~/.asdf
key: ${{ runner.os }}-asdf-${{ hashFiles('.tool-versions') }}
id: asdf-cache
# only run `asdf install` if we didn't hit the cache
- uses: asdf-vm/actions/install@v1
if: steps.asdf-cache.outputs.cache-hit != 'true'
- name: Setup ASDF environment
run: |
ASDF_DIR=$HOME/.asdf
echo "ASDF_DIR=$ASDF_DIR" >> $GITHUB_ENV
echo "ASDF_DATA_DIR=$ASDF_DIR" >> $GITHUB_ENV
echo "$ASDF_DIR/bin" >> $GITHUB_PATH
echo "$ASDF_DIR/shims" >> $GITHUB_PATH
$ASDF_DIR/bin/asdf reshim
- name: Restore dependencies cache
id: deps-cache
uses: actions/cache@v4
with:
path: deps
key: ${{ runner.os }}-mix-${{ hashFiles('**/mix.lock') }}
restore-keys: ${{ runner.os }}-mix-
- name: Install dependencies
run: pushd assets && npm i && popd
- name: Publish to Chromatic
uses: chromaui/action@v1
with:
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
workingDir: assets/
exitZeroOnChanges: true