|
|
@ -4,6 +4,9 @@ on:
|
|
|
|
pull_request:
|
|
|
|
pull_request:
|
|
|
|
workflow_dispatch:
|
|
|
|
workflow_dispatch:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
permissions:
|
|
|
|
|
|
|
|
contents: read
|
|
|
|
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
runs-on: ubuntu-latest
|
|
|
@ -13,12 +16,12 @@ jobs:
|
|
|
|
- 18
|
|
|
|
- 18
|
|
|
|
steps:
|
|
|
|
steps:
|
|
|
|
- name: Checkout code
|
|
|
|
- name: Checkout code
|
|
|
|
uses: actions/checkout@v3
|
|
|
|
uses: actions/checkout@v4
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
fetch-depth: 0
|
|
|
|
fetch-depth: 0
|
|
|
|
|
|
|
|
|
|
|
|
- name: Use Node.js ${{ matrix.node_version }}
|
|
|
|
- name: Use Node.js ${{ matrix.node_version }}
|
|
|
|
uses: actions/setup-node@v3
|
|
|
|
uses: actions/setup-node@v4
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
node-version: ${{ matrix.node_version }}
|
|
|
|
node-version: ${{ matrix.node_version }}
|
|
|
|
cache: 'yarn'
|
|
|
|
cache: 'yarn'
|
|
|
|