feat: support repeating-radial-gradient
#864
Workflow file for this run
This file contains hidden or 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: CI | |
on: | |
push: | |
branches: ['main'] | |
pull_request: | |
branches: ['main'] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }} | |
jobs: | |
integrity: | |
# prevents this action from running on forks | |
if: github.repository_owner == 'vercel' | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node: [ 20 ] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Use pnpm | |
run: corepack enable pnpm && pnpm --version | |
- name: Use Node.js ${{ matrix.node }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node }} | |
cache: 'pnpm' | |
- run: pnpm install | |
- run: pnpm ci-check | |
test: | |
# prevents this action from running on forks | |
if: github.repository_owner == 'vercel' | |
name: Node.js ${{ matrix.node }} on ${{ matrix.os }} | |
timeout-minutes: 5 | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest] | |
node: [18, 20] | |
runs-on: ${{ matrix.os }} | |
permissions: | |
contents: write # to be able to publish a GitHub release | |
issues: write # to be able to comment on released issues | |
pull-requests: write # to be able to comment on released pull requests | |
id-token: write # to enable use of OIDC for npm provenance | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Use pnpm | |
run: corepack enable pnpm && pnpm --version | |
- name: Use Node.js ${{ matrix.node }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node }} | |
cache: 'pnpm' | |
- run: pnpm install | |
- run: pnpm build | |
- run: pnpm test | |
- name: Maybe Release | |
if: matrix.os == 'ubuntu-latest' && matrix.node == 20 && github.event_name == 'push' && github.ref == 'refs/heads/main' | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN_ELEVATED }} | |
NPM_CONFIG_PROVENANCE: 'true' | |
run: pnpm dlx semantic-release@24.2.3 |