Skip to content

Commit

Permalink
[infra] Reorder release workflow actions for npm caching (#3743)
Browse files Browse the repository at this point in the history
  • Loading branch information
augustjk committed Mar 21, 2023
1 parent b95c86e commit da3b8d5
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,6 @@ jobs:
git config --global user.name "Lit Robot"
git config --global user.email "lit-robot@google.com"
- name: Setup Node.js 16
uses: actions/setup-node@v3
with:
node-version: 16
cache: 'npm'
cache-dependency-path: package-lock.json

- name: Checkout Lit Repo
uses: actions/checkout@v3
with:
Expand All @@ -34,6 +27,13 @@ jobs:
# generate changelogs with the correct commits
fetch-depth: 0

- name: Setup Node.js 16
uses: actions/setup-node@v3
with:
node-version: 16
cache: 'npm'
cache-dependency-path: lit/package-lock.json

- name: Install Dependencies
working-directory: lit
run: npm ci
Expand Down

0 comments on commit da3b8d5

Please sign in to comment.