Skip to content

Commit

Permalink
chore(ci/lint-fix): setup node only once
Browse files Browse the repository at this point in the history
  • Loading branch information
yin1999 committed Feb 17, 2024
1 parent a623aea commit 764fffd
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/markdown-lint-fix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ jobs:
with:
node-version-file: ".nvmrc"
cache: yarn
cache-dependency-path: "**/yarn.lock"

- name: Install all yarn packages
run: |
Expand All @@ -43,13 +44,6 @@ jobs:
repository: mdn/content
path: mdn/content

- name: Setup Node.js environment for mdn/content
uses: actions/setup-node@v4
with:
node-version-file: ".nvmrc"
cache: "yarn"
cache-dependency-path: mdn/content/yarn.lock

- name: Install all yarn packages for mdn/content
working-directory: ${{ github.workspace }}/mdn/content
run: yarn --frozen-lockfile
Expand Down

0 comments on commit 764fffd

Please sign in to comment.