Fix #1186 gallery & markers: allow images url with parenthesis #573
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
name: build | |
on: | |
push: | |
branches: | |
- '*' | |
paths-ignore: | |
- 'docs/**' | |
- 'examples/**' | |
pull_request: | |
branches: | |
- main | |
workflow_dispatch: {} | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: '20' | |
- name: data | |
id: data | |
run: | | |
echo "YARN_CACHE_DIR=$(yarn cache dir)" >> $GITHUB_OUTPUT | |
- name: yarn cache | |
id: yarn-cache-rw | |
uses: actions/cache@v3 | |
if: github.ref_name == 'main' | |
with: | |
key: yarn-${{ hashFiles('yarn.lock') }} | |
path: ${{ steps.data.outputs.YARN_CACHE_DIR }} | |
- name: yarn cache | |
id: yarn-cache-ro | |
uses: actions/cache/restore@v3 | |
if: github.ref_name != 'main' | |
with: | |
key: yarn-${{ hashFiles('yarn.lock') }} | |
path: ${{ steps.data.outputs.YARN_CACHE_DIR }} | |
- name: turbo cache | |
id: turbo-cache-rw | |
uses: actions/cache@v3 | |
if: github.ref_name == 'main' | |
with: | |
path: .turbo | |
key: turbo-${{ github.sha }} | |
restore-keys: | | |
turbo- | |
- name: turbo cache | |
id: turbo-cache-ro | |
uses: actions/cache/restore@v3 | |
if: github.ref_name != 'main' | |
with: | |
path: .turbo | |
key: turbo-${{ github.sha }} | |
restore-keys: | | |
turbo- | |
- name: build | |
run: | | |
yarn install | |
yarn ci:build |