Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 11 additions & 7 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---

name: Bug report
about: Create a report to help us improve
title: ''
Expand All @@ -12,6 +13,7 @@ A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:

1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
Expand All @@ -24,15 +26,17 @@ A clear and concise description of what you expected to happen.
If applicable, add screenshots to help explain your problem.

**Desktop (please complete the following information):**
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]

- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]

**Smartphone (please complete the following information):**
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]

- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]

**Additional context**
Add any other context about the problem here.
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---

name: Feature request
about: Suggest an idea for this project
title: ''
Expand Down
2 changes: 1 addition & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ updates:
# default location of `.github/workflows`
directory: "/"
schedule:
interval: "weekly"
interval: "weekly"
11 changes: 5 additions & 6 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,39 +20,38 @@

<!-- Explain what this pull request is trying to resolve -->


### Description of Proposed Changes

<!-- Describe which functionality is added/changed and what it affects -->



## Checklist


#### Create User Story(DevOps) or Issue(Github)

- [ ] Describe functional requirements
- [ ] Design plan/suggestion (e.g. images, link to eds design or relevant figma links, mention of eds tokens to use)
- [ ] Communication with UX *(evaluate if needed)*
- [ ] Communication with UX _(evaluate if needed)_

#### Development

- [ ] Describe the component
- [ ] Code funtional requirements
- [ ] Create stories
- [ ] Create snapshots *(evaluate if needed)*
- [ ] Create snapshots _(evaluate if needed)_
- [ ] Remove unused imports and commented code
- [ ] Lint code with Biome (and follow best practises for [code quality](https://docs.fusion-dev.net/development/frontend/code-quality/)

#### Create Pull Request

- [ ] Assign relevant reviewers in Github and Cromatic
- [ ] Inform colleagues of pending reviews. We use Teams for this purpose, under fusion-frontend team please tag involved reviewers in the [Code review channel](https://teams.microsoft.com/l/channel/19%3a056a9ba8d8d84a058b24762f85c603ae%40thread.tacv2/Code%2520%2520review?groupId=9589ba16-68a5-47e6-97d7-7d0be0e0d3cb&tenantId=3aa4a235-b6e2-48d5-9195-7fcf05b459b0)

#### Review of Pull Request

- [ ] Follow up on comments from code review and implement necessary changes *(evaluate if needed)*
- [ ] Follow up on comments from code review and implement necessary changes _(evaluate if needed)_
- [ ] Review approved in github (and chromatic)

#### Publish Code
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/actions/changeset-snapshot/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ inputs:
required: true
gh-token:
description: github token
default: ${{ github.token }}
default: ${{ github.token }}

runs:
using: composite
Expand Down Expand Up @@ -35,4 +35,3 @@ runs:
with:
name: changeset-status
path: changeset.json

11 changes: 5 additions & 6 deletions .github/workflows/actions/node-setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,15 @@ name: Setup Bun
description: General setup of Bun and Node
inputs:
bun-version:
description: 'Setting Bun version'
default: 'latest'
description: "Setting Bun version"
default: "latest"
node-version:
description: 'Setting Node version (for native addons/tooling)'
default: '24'
description: "Setting Node version (for native addons/tooling)"
default: "24"

runs:
using: composite
steps:

- uses: oven-sh/setup-bun@v2
with:
bun-version: ${{ inputs.bun-version }}
Expand All @@ -23,4 +22,4 @@ runs:

- name: Install Dependencies
shell: bash
run: bun install
run: bun install
6 changes: 3 additions & 3 deletions .github/workflows/apm-sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: APM Sync

on:
schedule:
- cron: '17 8 * * *'
- cron: "17 8 * * *"
workflow_dispatch:

permissions:
Expand Down Expand Up @@ -61,8 +61,8 @@ jobs:
env:
GITHUB_APM_PAT_EQUINOR: ${{ secrets.APM_FUSION_SKILLS_TOKEN || github.token }}
with:
apm-version: '0.33.0'
update: 'true'
apm-version: "0.33.0"
update: "true"

- name: Create or update pull request
env:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/chromatic.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# .github/workflows/chromatic.yml

# Workflow name
name: 'Chromatic'
name: "Chromatic"

# Event for the workflow
on:
on:
pull_request:
push:
branches:
Expand Down Expand Up @@ -51,4 +51,4 @@ jobs:
buildScriptName: build
token: ${{ secrets.GITHUB_TOKEN }}
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
autoAcceptChanges: true # 👈 Option to accept all changes
autoAcceptChanges: true # 👈 Option to accept all changes
61 changes: 30 additions & 31 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ name: "CodeQL"
on:
pull_request:
# The branches below must be a subset of the branches above
branches: [ main ]
branches: [main]
paths:
- '**.ts'
- '**.tsx'
- "**.ts"
- "**.tsx"
schedule:
- cron: '38 14 * * 2'
- cron: "38 14 * * 2"

jobs:
analyze:
Expand All @@ -33,40 +33,39 @@ jobs:
strategy:
fail-fast: false
matrix:
language: [ 'javascript' ]
language: ["javascript"]
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]
# Learn more:
# https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed

steps:
- name: Checkout repository
uses: actions/checkout@v7
- name: Checkout repository
uses: actions/checkout@v7

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v4.39.3
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.
# queries: ./path/to/local/query, your-org/your-repo/queries@main
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v4.39.3
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.
# queries: ./path/to/local/query, your-org/your-repo/queries@main
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v4.39.3

# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v4.39.3
# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl
# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
# and modify them (or add more) to build your code if your project
# uses a compiled language

# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
# and modify them (or add more) to build your code if your project
# uses a compiled language
#- run: |
# make bootstrap
# make release

#- run: |
# make bootstrap
# make release

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v4.39.3
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v4.39.3
4 changes: 2 additions & 2 deletions .github/workflows/generate-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Generate Docs

on:
workflow_dispatch:
workflow_call:
workflow_call:

permissions:
contents: read
Expand Down Expand Up @@ -40,4 +40,4 @@ jobs:
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v5
uses: actions/deploy-pages@v5
8 changes: 4 additions & 4 deletions .github/workflows/index-eds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,21 +54,21 @@ on:
workflow_dispatch:
inputs:
eds_ref:
description: 'EDS git ref to build (tag, branch, or commit SHA)'
description: "EDS git ref to build (tag, branch, or commit SHA)"
type: string
default: main
clean:
description: 'Delete existing embeddings before indexing'
description: "Delete existing embeddings before indexing"
type: boolean
default: false
environment:
description: 'GitHub environment with Azure credentials'
description: "GitHub environment with Azure credentials"
type: string
required: true

schedule:
# Every Monday 06:00 UTC — check for new EDS releases
- cron: '0 6 * * 1'
- cron: "0 6 * * 1"

env:
EDS_REPO: equinor/design-system
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: Lint project files

on:
pull_request:
types:
on:
pull_request:
types:
- ready_for_review
- opened
- reopened
Expand All @@ -24,7 +24,7 @@ jobs:

- name: Build project
run: bun run build

- name: Setup Biome CLI
uses: biomejs/setup-biome@v2

Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/next.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
workflow_dispatch:
inputs:
tag:
description: 'Release tag (PR)'
description: "Release tag (PR)"
required: true

concurrency: ${{ github.workflow }}-${{ github.ref }}
Expand All @@ -24,7 +24,7 @@ jobs:
- uses: actions/checkout@v7
with:
fetch-depth: 0

- name: Validate pre-release configuration
id: tag
run: |
Expand All @@ -43,7 +43,7 @@ jobs:
id: changesets
uses: changesets/action@v2
with:
pr-title: '🤖 Bip Bop - Fusion React Components Pre-Release'
pr-title: "🤖 Bip Bop - Fusion React Components Pre-Release"
version-script: bun run changeset:version
publish-script: bun run changeset:publish:pre-release
env:
Expand All @@ -56,4 +56,3 @@ jobs:
run: gh pr ready ${{ steps.changesets.outputs.pullRequestNumber }} --undo
env:
GH_TOKEN: ${{ github.token }}

6 changes: 3 additions & 3 deletions .github/workflows/pre-release.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: Pre-release

on:
on:
workflow_dispatch:
inputs:
tag:
description: 'Realse tag (PR)'
description: "Realse tag (PR)"
required: true

permissions:
Expand Down Expand Up @@ -32,4 +32,4 @@ jobs:
- name: Create snapshot
uses: $/.github/workflows/actions/changeset-snapshot
with:
tag: ${{ inputs.tag }}
tag: ${{ inputs.tag }}
Loading
Loading