chore: bumped up gh actions (#1233)
This commit is contained in:
parent
1ed6759000
commit
dd8c237677
14
.github/workflows/test.yml
vendored
14
.github/workflows/test.yml
vendored
@ -11,10 +11,13 @@ jobs:
|
|||||||
master:
|
master:
|
||||||
name: Test and lint - main
|
name: Test and lint - main
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
permissions:
|
||||||
|
contents: 'read'
|
||||||
|
actions: 'read'
|
||||||
if: ${{ github.event_name != 'pull_request' }}
|
if: ${{ github.event_name != 'pull_request' }}
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
ref: ${{ github.event.pull_request.head.ref }}
|
ref: ${{ github.event.pull_request.head.ref }}
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
@ -24,7 +27,7 @@ jobs:
|
|||||||
main-branch-name: master
|
main-branch-name: master
|
||||||
- name: Use Node.js 16
|
- name: Use Node.js 16
|
||||||
id: Node
|
id: Node
|
||||||
uses: actions/setup-node@v2
|
uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: 16.14.0
|
node-version: 16.14.0
|
||||||
- name: Install root dependencies
|
- name: Install root dependencies
|
||||||
@ -40,10 +43,13 @@ jobs:
|
|||||||
pr:
|
pr:
|
||||||
name: Test and lint - PR
|
name: Test and lint - PR
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
permissions:
|
||||||
|
contents: 'read'
|
||||||
|
actions: 'read'
|
||||||
if: ${{ github.event_name == 'pull_request' }}
|
if: ${{ github.event_name == 'pull_request' }}
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
- name: Derive appropriate SHAs for base and head for `nx affected` commands
|
- name: Derive appropriate SHAs for base and head for `nx affected` commands
|
||||||
@ -52,7 +58,7 @@ jobs:
|
|||||||
main-branch-name: master
|
main-branch-name: master
|
||||||
- name: Use Node.js 16
|
- name: Use Node.js 16
|
||||||
id: Node
|
id: Node
|
||||||
uses: actions/setup-node@v2
|
uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: 16.14.0
|
node-version: 16.14.0
|
||||||
- name: Install root dependencies
|
- name: Install root dependencies
|
||||||
|
Loading…
Reference in New Issue
Block a user