primevue-mirror/.github/workflows/nightly.yml

33 lines
620 B
YAML
Raw Normal View History

2022-12-20 06:32:43 +00:00
name: Daily Build
on:
schedule:
- cron: '0 6 * * *'
permissions:
contents: read
jobs:
nightly:
if: github.repository == 'primefaces/primevue' && github.ref == 'refs/heads/master'
runs-on: ubuntu-latest
name: Node ${{ matrix.node-version }}
strategy:
matrix:
2024-06-14 14:52:08 +00:00
node-version: [18, 20]
2022-12-20 06:32:43 +00:00
steps:
2024-06-14 14:52:08 +00:00
- uses: actions/checkout@v4
2022-12-20 06:32:43 +00:00
- name: Use Node.js ${{ matrix.node-version }}
2024-06-14 14:52:08 +00:00
uses: actions/setup-node@v4
2022-12-20 06:32:43 +00:00
with:
node-version: ${{ matrix.node-version }}
2024-06-14 14:52:08 +00:00
cache: 'pnpm'
2022-12-20 06:32:43 +00:00
- name: Build
run: |
2024-06-14 14:52:08 +00:00
pnpm run setup
pnpm run build:lib