|
33 | 33 | runs-on: ubuntu-latest
|
34 | 34 | steps:
|
35 | 35 | - name: Set up Python ${{ env.PYTHON_VERSION }}
|
36 |
| - uses: actions/setup-python@d27e3f3d7c64b4bbf8e4abfb9b63b83e846e0435 # v4.5.0 |
| 36 | + uses: actions/setup-python@d27e3f3d7c64b4bbf8e4abfb9b63b83e846e0435 # v4.5.0 |
37 | 37 | with:
|
38 | 38 | python-version: ${{ env.PYTHON_VERSION }}
|
39 | 39 | - name: Environment Information
|
|
45 | 45 | run: echo "NIGHTLY=$(curl -s https://nodejs.org/download/nightly/index.json | jq -r '.[0].version')" >> $GITHUB_ENV
|
46 | 46 | - name: Install Node.js
|
47 | 47 | id: setup-node
|
48 |
| - uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0 |
| 48 | + uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0 |
49 | 49 | with:
|
50 | 50 | node-version: ${{ env.NIGHTLY || matrix.node-version }}
|
51 | 51 | - name: Get nightly ref
|
|
56 | 56 | SHORT_SHA=$(node -p 'process.version.split(/-nightly\d{8}/)[1]')
|
57 | 57 | echo "NIGHTLY_REF=$(gh api /repos/nodejs/node/commits/$SHORT_SHA --jq '.sha')" >> $GITHUB_ENV
|
58 | 58 | - name: Checkout ${{ steps.setup-node.outputs.node-version }}
|
59 |
| - uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0 |
| 59 | + uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0 |
60 | 60 | with:
|
61 | 61 | persist-credentials: false
|
62 | 62 | ref: ${{ env.NIGHTLY_REF || steps.setup-node.outputs.node-version }}
|
|
72 | 72 | run: rm -rf wpt
|
73 | 73 | working-directory: test/fixtures
|
74 | 74 | - name: Checkout epochs/daily WPT
|
75 |
| - uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0 |
| 75 | + uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0 |
76 | 76 | with:
|
77 | 77 | repository: web-platform-tests/wpt
|
78 | 78 | persist-credentials: false
|
|
89 | 89 | cp wptreport.json wptreport-${{ steps.setup-node.outputs.node-version }}.json
|
90 | 90 | fi
|
91 | 91 | - name: Upload GitHub Actions artifact
|
92 |
| - uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2 |
| 92 | + uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2 |
93 | 93 | with:
|
94 | 94 | path: out/wpt/wptreport-*.json
|
95 | 95 | name: WPT Reports
|
|
0 commit comments