Skip to content
This repository has been archived by the owner on Oct 25, 2024. It is now read-only.

Commit

Permalink
Run GitHub workflow with read permission. (#607)
Browse files Browse the repository at this point in the history
  • Loading branch information
jianjunz authored Jun 4, 2024
1 parent 601be9d commit f8734f3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: Continuous Integration
permissions: read-all

on: [push, pull_request]

Expand All @@ -9,7 +10,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: "14"
node-version: "20"
- run: npm install
- run: grunt check
working-directory: ./scripts
Expand All @@ -32,7 +33,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: "14"
node-version: "20"
- run: npm install
- name: Run test cases
env:
Expand Down

0 comments on commit f8734f3

Please sign in to comment.