Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update ci.yml #20

Merged
merged 2 commits into from
May 30, 2024
Merged
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
20 changes: 10 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: CI / Bundle SVG Icons
name: CI / Bundle Icons

on: [push, pull_request]
on: [push]

jobs:
bundle-svg-files:
Expand All @@ -18,23 +18,23 @@ jobs:
with:
node-version: '20'

- name: Create bundled_svgs directory
run: mkdir bundled_svgs
- name: Create Directory
run: mkdir bundled_icons

- name: Find and copy SVG files
run: |
find . -name "*.svg" -exec cp {} bundled_svgs/ \;
find . -name "*.svg" -exec cp {} bundle_icons/ \;

shell: bash

- name: Verify SVG files are bundled
run: ls bundled_svgs
- name: Verify SVG files
run: ls bundled_icons

- name: Run tests
- name: Run Tests
run: echo "Tests are passing."

- name: Upload bundled SVGs as artifact
uses: actions/upload-artifact@v3
with:
name: bundled_svgs
path: bundled_svgs
name: bundled_icons
path: bundled_icons
Loading