Skip to content

Commit

Permalink
chore: legg til workflow for oppdatering av ffe-icons svger
Browse files Browse the repository at this point in the history
  • Loading branch information
HeleneKassandra committed Dec 11, 2023
1 parent 8ad3db6 commit d832935
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/update-ffe-icons.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: update ffe-icons svgs

on:
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest

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

- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: 18

- name: Install dependencies
run: npm ci

- name: Build icons
run: npm run build:icons
working-directory: packages/ffe-icons

- name: Create Pull Request
uses: peter-evans/create-pull-request@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: 'fix(ffe-icons): oppdater ikon SVGer'
title: 'feat(ffe-icons): oppdater ikon SVGer'
body: "Oppdaterer SVG'ene i ffe-icons til å passe med de som er tilgjengelige i Material Symbols"
branch: 'auto-update-icons'

0 comments on commit d832935

Please sign in to comment.