diff --git a/.github/workflows/publish_artifacts.yml b/.github/workflows/publish_artifacts.yml index 3159f2ce..e427d97b 100644 --- a/.github/workflows/publish_artifacts.yml +++ b/.github/workflows/publish_artifacts.yml @@ -10,16 +10,18 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install node uses: actions/setup-node@v3 with: node-version: 16 + cache: 'npm' - - uses: preactjs/compressed-size-action@v2 - with: - build-script: "build:production" + - name: Install dependencies + run: npm ci + - name: Build production app + run: npm run build:production # Used to send a comment to the PR with the artifact url - name: Save PR number