66# "License"); you may not use this file except in compliance
77# with the License. You may obtain a copy of the License at
88#
9- # http://www.apache.org/licenses/LICENSE-2.0
9+ # http://www.apache.org/licenses/LICENSE-2.0
1010#
1111# Unless required by applicable law or agreed to in writing,
1212# software distributed under the License is distributed on an
1313# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14- # KIND, either express or implied. See the License for the
14+ # KIND, either express or implied. See the License for the
1515# specific language governing permissions and limitations
1616# under the License.
1717
2929 - ' LICENSE'
3030 - ' .eslint*'
3131
32+ permissions :
33+ contents : read
34+
3235jobs :
3336 test :
3437 name : Chrome Latest Test
@@ -39,11 +42,15 @@ jobs:
3942 # Storing a copy of the repo
4043 repo : ${{ github.event.pull_request.head.repo.full_name || github.repository }}
4144
42- node-version : 16
45+ node-version : 24
4346
4447 steps :
45- - uses : actions/checkout@v2
46- - uses : actions/setup-node@v2
48+ - uses : actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
49+ with :
50+ persist-credentials : false
51+ fetch-depth : 1
52+
53+ - uses : actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
4754 with :
4855 node-version : ${{ env.node-version }}
4956
6168 npm ci
6269
6370 - name : Run paramedic install
64- if : ${{ endswith(env.repo, '/cordova-paramedic') != true }}
71+ if : ${{ endswith(env.repo, '/cordova-paramedic') != true }}
6572 run : npm i -g github:apache/cordova-paramedic
6673
6774 - name : Run paramedic tests
0 commit comments