diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 29229a5..a18f085 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,15 +20,15 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 15 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Use Node.js - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: "18" - name: Cache dependencies id: cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: '**/node_modules' key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }} @@ -38,7 +38,7 @@ jobs: run: yarn install --immutable - name: Setup a local cache server for Turborepo - uses: felixmosh/turborepo-gh-artifacts@v2 + uses: felixmosh/turborepo-gh-artifacts@v3 with: repo-token: ${{ secrets.GITHUB_TOKEN }} server-token: ${{ secrets.TURBO_SERVER_TOKEN }} @@ -50,7 +50,7 @@ jobs: run: yarn turbo run build --color --concurrency=5 - name: Upload build artifacts - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: packages path: | @@ -62,16 +62,16 @@ jobs: if: ${{ github.event_name == 'push' }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Use Node.js - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: "18" registry-url: "https://registry.npmjs.org" - name: Cache dependencies id: cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: '**/node_modules' key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }} @@ -95,7 +95,7 @@ jobs: NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }} - name: Upload Artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: packages path: | @@ -107,16 +107,16 @@ jobs: if: ${{ github.event_name == 'release' }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Use Node.js - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: "18" registry-url: "https://registry.npmjs.org" - name: Cache dependencies id: cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: '**/node_modules' key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }} @@ -139,7 +139,7 @@ jobs: steps: - name: Trigger RefApp Build - uses: fjogeleit/http-request-action@master + uses: fjogeleit/http-request-action@v1 with: url: https://ci.openmrs.org/rest/api/latest/queue/O3-BF method: "POST" diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index cc79368..940f0f8 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -14,18 +14,18 @@ jobs: timeout-minutes: 15 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Copy test environment variables run: cp example.env .env - name: Setup node - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 18 - name: Cache dependencies id: cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: '**/node_modules' key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }} @@ -54,7 +54,7 @@ jobs: run: docker stop $(docker ps -a -q) - name: Upload Report - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: always() with: name: playwright-report