diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3f757a84..765320d9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -30,6 +30,8 @@ jobs: node-version: ${{ env.node-version }} - name: Install packages run: npm ci + - name: Build project + run: npm run build - name: Run Semantic Release run: npm run release env: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f5dcb9da..2de386b4 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -23,6 +23,9 @@ jobs: uses: actions/setup-node@v3 with: node-version: ${{ matrix.node }} + cache: 'npm' + - name: Upgrade NPM + run: npm install -g npm - name: Install packages run: npm ci - name: Build project