diff --git a/.github/workflows/client-tests.yml b/.github/workflows/client-tests.yml index 8400d84c..0792d463 100644 --- a/.github/workflows/client-tests.yml +++ b/.github/workflows/client-tests.yml @@ -24,7 +24,7 @@ jobs: # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v2 with: diff --git a/.github/workflows/prod-deploy.yml b/.github/workflows/prod-deploy.yml index c04fce18..6453e3ec 100644 --- a/.github/workflows/prod-deploy.yml +++ b/.github/workflows/prod-deploy.yml @@ -4,7 +4,7 @@ on: push: branches: main env: - LBL_STAGE: production + LBL_STAGE: production DEBIAN_FRONTEND: noninteractive TEMPLATES_FILE_NAME: templates.json jobs: @@ -14,7 +14,7 @@ jobs: run: working-directory: server steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v2 with: @@ -31,7 +31,7 @@ jobs: - name: Copy templates.json out of the container run: docker cp $CONTAINER_ID:/server/scripts/templates.json $TEMPLATES_FILE_NAME - name: Upload templates.json as an artifact - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: template path: ${{github.workspace}}/${{env.TEMPLATES_FILE_NAME}} @@ -50,7 +50,7 @@ jobs: node-version: [18.x] # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v2 with: @@ -64,7 +64,7 @@ jobs: aws-secret-access-key: ${{secrets.AWS_SECRET_ACCESS_KEY }} aws-region: us-east-2 - name: Update template.json - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v4 with: name: template path: ${{github.workspace}}/client/src/data diff --git a/.github/workflows/server-tests.yml b/.github/workflows/server-tests.yml index 44ea25af..d1cf2550 100644 --- a/.github/workflows/server-tests.yml +++ b/.github/workflows/server-tests.yml @@ -26,7 +26,7 @@ jobs: # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Set up Node ${{ matrix.node-version }} uses: actions/setup-node@v2 with: diff --git a/.github/workflows/staging-deploy.yml b/.github/workflows/staging-deploy.yml index c81a072d..db462350 100644 --- a/.github/workflows/staging-deploy.yml +++ b/.github/workflows/staging-deploy.yml @@ -2,7 +2,7 @@ name: ctrl-flow staging deployment on: push: - branches: staging + branches: staging env: LBL_STAGE: staging DEBIAN_FRONTEND: noninteractive @@ -14,7 +14,7 @@ jobs: run: working-directory: server steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v2 with: @@ -31,7 +31,7 @@ jobs: - name: Copy templates.json out of the container run: docker cp $CONTAINER_ID:/server/scripts/templates.json $TEMPLATES_FILE_NAME - name: Upload templates.json as an artifact - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: template path: ${{github.workspace}}/${{env.TEMPLATES_FILE_NAME}} @@ -50,7 +50,7 @@ jobs: node-version: [18.x] # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v2 with: @@ -64,7 +64,7 @@ jobs: aws-secret-access-key: ${{secrets.AWS_SECRET_ACCESS_KEY }} aws-region: us-east-2 - name: Update template.json - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v4 with: name: template path: ${{github.workspace}}/client/src/data @@ -97,4 +97,3 @@ jobs: AWS_REGION: us-east-2 AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} -