Skip to content

Commit

Permalink
update actions
Browse files Browse the repository at this point in the history
  • Loading branch information
elalish committed Sep 24, 2024
1 parent 5604ec8 commit 18b0c06
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 14 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/deploy-documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
8 changes: 3 additions & 5 deletions .github/workflows/fidelity-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
6 changes: 2 additions & 4 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 18b0c06

Please sign in to comment.