From 18b0c064fa4fa0dec77d8e52e4a335a9b756baff Mon Sep 17 00:00:00 2001 From: Emmett Lalish Date: Mon, 23 Sep 2024 17:04:45 -0700 Subject: [PATCH] update actions --- .github/workflows/deploy-documentation.yml | 8 +++----- .github/workflows/fidelity-tests.yml | 8 +++----- .github/workflows/unit-tests.yml | 6 ++---- 3 files changed, 8 insertions(+), 14 deletions(-) diff --git a/.github/workflows/deploy-documentation.yml b/.github/workflows/deploy-documentation.yml index 12fec369da..d30cd74bb5 100644 --- a/.github/workflows/deploy-documentation.yml +++ b/.github/workflows/deploy-documentation.yml @@ -11,13 +11,11 @@ jobs: timeout-minutes: 60 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: submodules: true - - uses: actions/setup-node@v3 - with: - node-version: '16.x' + - uses: actions/setup-node@v4 - name: NPM install run: npm ci @@ -32,7 +30,7 @@ jobs: run: ./packages/modelviewer.dev/scripts/ci-before-deploy.sh - name: Deploy to Github Pages - uses: peaceiris/actions-gh-pages@v3 + uses: peaceiris/actions-gh-pages@v4 with: github_token: ${{ secrets.GITHUB_TOKEN }} publish_branch: gh-pages diff --git a/.github/workflows/fidelity-tests.yml b/.github/workflows/fidelity-tests.yml index 08c43eb269..a7589b6321 100644 --- a/.github/workflows/fidelity-tests.yml +++ b/.github/workflows/fidelity-tests.yml @@ -8,13 +8,11 @@ jobs: timeout-minutes: 90 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: submodules: true - - uses: actions/setup-node@v3 - with: - node-version: '16.x' + - uses: actions/setup-node@v4 - name: NPM install run: npm ci @@ -27,6 +25,6 @@ jobs: npm run build --workspace=@google/model-viewer --workspace=@google/model-viewer-render-fidelity-tools - name: Fidelity tests - uses: GabrielBB/xvfb-action@v1.0 + uses: coactions/setup-xvfb@v1 with: run: npm run test --workspace=@google/model-viewer-render-fidelity-tools -- --quiet diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index 7fd0e49232..ea02585b41 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -9,13 +9,11 @@ jobs: timeout-minutes: 60 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: submodules: true - - uses: actions/setup-node@v3 - with: - node-version: '16.x' + - uses: actions/setup-node@v4 - name: NPM install run: npm ci