Skip to content
Draft
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
26 changes: 25 additions & 1 deletion .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -147,18 +147,42 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Generate a token
id: generate-token
uses: actions/create-github-app-token@v1
with:
app-id: ${{ secrets.GH_FLUENT_CI_APP_ID }}
private-key: ${{ secrets.GH_FLUENT_CI_PRIVATE_KEY }}

- uses: actions/checkout@v4
with:
token: ${{ steps.generate-token.outputs.token }}

- uses: actions/setup-node@v4
with:
node-version: 20.x

- run: npm ci

- name: Lint/Test/Build @fluentui/react-icons
- name: Lint & Build @fluentui/react-icons
run: |
time npm run lint
time npm run build
working-directory: packages/react-icons

- name: Commit metadata.json if changed @fluentui/react-icons
working-directory: packages/react-icons
run: |
git config user.name "Fluent Build System"
git config user.email "[email protected]"
if [[ -n "$(git status --porcelain metadata.json)" ]]; then
git add metadata.json
git commit -m "chore(react-icons): update metadata.json [skip ci]"
git push origin HEAD:${{ github.head_ref }} --force-with-lease
fi

- name: Test (verify build) @fluentui/react-icons
run: |
npm run build:verify -- -u
working-directory: packages/react-icons

Expand Down
2 changes: 1 addition & 1 deletion importer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"license": "Microsoft",
"devDependencies": {
"avocado": "1.0.0",
"fantasticon": "^1.2.3",
"fantasticon": "1.2.3",
"glob": "^8.0.1",
"lodash": "4.17.21",
"mkdirp": "^1.0.4",
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading