diff --git a/.github/actions/build/action.yml b/.github/actions/build/action.yml index b4b200f86..478427f72 100644 --- a/.github/actions/build/action.yml +++ b/.github/actions/build/action.yml @@ -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 diff --git a/.github/actions/framework/action.yml b/.github/actions/framework/action.yml index 61f3e7b4a..c8b18e8c3 100644 --- a/.github/actions/framework/action.yml +++ b/.github/actions/framework/action.yml @@ -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: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a75ade6ae..bd5c6ff7b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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: @@ -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: