Skip to content

Commit

Permalink
modify yml
Browse files Browse the repository at this point in the history
  • Loading branch information
DanRod1999 committed Oct 15, 2024
1 parent e545b7a commit 6aa99eb
Showing 1 changed file with 16 additions and 7 deletions.
23 changes: 16 additions & 7 deletions .github/workflows/extract-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,21 +19,27 @@ jobs:
extract-api:
runs-on: ubuntu-latest
steps:
- name: Checkout branch
uses: actions/checkout@v2
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0


- name: Configure git
run: |
git config --local user.email imodeljs-admin@users.noreply.github.com
git config --local user.name imodeljs-admin
- name: Setup node
uses: actions/setup-node@v2
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
node-version: "18"
version: 7.27.0

- name: Enable and install pnpm with corepack
run: corepack enable && corepack prepare pnpm@latest --activate
- name: Use Node.js 18
uses: actions/setup-node@v3
with:
node-version: 18.16.0
cache: 'pnpm'

- name: Pnpm install
run: pnpm install
Expand All @@ -50,6 +56,9 @@ jobs:
run: pnpm run extract-api
working-directory: ${{ github.workspace }}/packages/transformer

- name: git diff
run: git diff --exit-code

- name: Assert no uncommitted changes (for extension api)
shell: bash
run: |
Expand Down

0 comments on commit 6aa99eb

Please sign in to comment.