Update nightly.yml
parent
206cda6c67
commit
40063466fb
|
@ -1,32 +1,38 @@
|
||||||
name: Daily Build
|
name: Daily Build
|
||||||
|
|
||||||
on:
|
on:
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '0 6 * * *'
|
- cron: '0 6 * * *'
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
nightly:
|
nightly:
|
||||||
if: github.repository == 'primefaces/primevue' && github.ref == 'refs/heads/master'
|
if: github.repository == 'primefaces/primevue' && github.ref == 'refs/heads/master'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
name: Node ${{ matrix.node-version }}
|
name: Node ${{ matrix.node-version }}
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
node-version: [18, 20]
|
node-version: [18, 20]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- name: Checkout repository
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Use Node.js ${{ matrix.node-version }}
|
- name: Install pnpm
|
||||||
uses: actions/setup-node@v4
|
uses: pnpm/action-setup@v4
|
||||||
with:
|
with:
|
||||||
node-version: ${{ matrix.node-version }}
|
version: 9
|
||||||
cache: 'pnpm'
|
|
||||||
|
|
||||||
- name: Build
|
- name: Use Node.js ${{ matrix.node-version }}
|
||||||
run: |
|
uses: actions/setup-node@v4
|
||||||
pnpm run setup
|
with:
|
||||||
pnpm run build:lib
|
node-version: ${{ matrix.node-version }}
|
||||||
|
cache: 'pnpm'
|
||||||
|
|
||||||
|
- name: Build
|
||||||
|
run: |
|
||||||
|
pnpm run setup
|
||||||
|
pnpm run build:lib
|
||||||
|
|
Loading…
Reference in New Issue