Skip to content

Commit

Permalink
Update workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
evansims committed Aug 25, 2023
1 parent 75091e5 commit 4efb95b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 15 deletions.
6 changes: 0 additions & 6 deletions .github/actions/build/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,6 @@ runs:
using: composite

steps:
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: ${{ inputs.node }}
cache: 'npm'

- name: Get NPM cache directory
id: npm-cache-dir
shell: bash
Expand Down
6 changes: 0 additions & 6 deletions .github/actions/framework/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,6 @@ runs:
using: composite

steps:
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: ${{ inputs.node }}
cache: 'npm'

- name: Restore build artifacts
uses: actions/cache/restore@v3
with:
Expand Down
9 changes: 6 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,12 @@ jobs:
- name: Checkout code
uses: actions/checkout@v3

- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: ${{ env.NODE_VERSION }}
cache: 'npm'

- name: Build package
uses: ./.github/actions/build
with:
Expand Down Expand Up @@ -78,9 +84,6 @@ jobs:
node-version: ${{ env.NODE_VERSION }}
cache: 'npm'

- name: Install dependencies
run: npm ci --include=dev

- name: Restore build artifacts
uses: actions/cache/restore@v3
with:
Expand Down

0 comments on commit 4efb95b

Please sign in to comment.