Skip to content

chore: Icon updates 20 Nov 2024, 08:02:23 #92

chore: Icon updates 20 Nov 2024, 08:02:23

chore: Icon updates 20 Nov 2024, 08:02:23 #92

Workflow file for this run

name: CI - Pull Request
on: pull_request
# Pull Request Runs on the same branch will be cancelled
concurrency:
group: ${{ github.head_ref }}
cancel-in-progress: true
env:
FIGMA_ACCESS_TOKEN: ${{secrets.FIGMA_PERSONAL_ACCESS_TOKEN}}
jobs:
compile_js_modules:
name: Compile JS Modules
runs-on: ubuntu-latest
steps:
- uses: actions/setup-node@v4
with:
node-version: 18
registry-url: "https://registry.npmjs.org"
- name: Checkout
uses: actions/checkout@v4
with:
ref: ${{github.head_ref}}
- name: Install packages
run: npm ci
- name: Run tests
run: npm run test
- name: Run tsc
run: tsc
release-comment:
name: Release Comment
runs-on: ubuntu-latest
if: ${{ contains(github.event.pull_request.title, 'release zeta-icons')}}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Get lastUpdated
id: lastUpdated
run: echo "lastUpdated=$(cat package.json | jq .lastUpdated)" >> $GITHUB_OUTPUT
- name: Comment
uses: mikedloss/create-update-comment@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
unique-identifier: "lastUpdated comment"
message: |
### PR is ready to merge.
Last updated: ${{ steps.lastUpdated.outputs.lastUpdated }}