Skip to content

feat: Radio 2.0 component #6176

feat: Radio 2.0 component

feat: Radio 2.0 component #6176

Workflow file for this run

name: Checks
on:
workflow_dispatch:
pull_request:
branches:
- main
paths:
- "apps/**"
- "packages/**"
- ".github/workflows/**"
push:
branches:
- main
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
jobs:
setup:
uses: ./.github/workflows/_setup.yml

Check warning on line 19 in .github/workflows/checks.yaml

View workflow run for this annotation

GitHub Actions / Checks

Workflow syntax warning

In .github/workflows/checks.yaml (Line: 19, Col: 11): Error from called workflow equinor/design-system/.github/workflows/_setup.yml@7eaeaffac05a5a3035c9f59470c6cb8cd1984671 (Line: 107, Col: 13): Conditional expression contains literal text outside replacement tokens. This will cause the expression to always evaluate to truthy. Did you mean to put the entire expression inside ${{ }}?
secrets: inherit
with:
cacheKey: ${{ github.sha }}
checkout_paths: packages apps scripts .github
packages:
name: Process packages
runs-on: ubuntu-latest
needs: setup
steps:
- name: Use "setup" cache
id: setup-cache
uses: actions/cache@v4
with:
path: |
./*
~/.pnpm-store
key: ${{ github.sha }}
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: "22.12.0"
- name: Setup pnpm
uses: pnpm/action-setup@v4
# Fallback if cache miss (shouldn’t happen as job needs: setup)
- name: Fallback checkout (cache miss)
if: steps.setup-cache.outputs.cache-hit != 'true'
uses: actions/checkout@v4
- name: Fallback install (cache miss)
if: steps.setup-cache.outputs.cache-hit != 'true'
run: pnpm install
- name: Build packages
id: build-packages
run: pnpm run build
- name: Test packages
id: test-packages
run: pnpm run test
- name: Lint packages
id: lint-packages
run: pnpm run lint:all
- name: Type check packages
id: type-check-packages
run: pnpm run types
- name: log-errors-to-slack
uses: act10ns/slack@v2
with:
status: ${{ job.status }}
steps: ${{ toJson(steps) }}
if: failure()