Skip to content

Commit

Permalink
Create nightly.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
melloware committed Sep 6, 2022
1 parent a2604c5 commit 521dd5a
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/nightly.yml
@@ -0,0 +1,32 @@
name: IT

on:
schedule:
- cron: '0 6 * * *'

permissions:
contents: read

jobs:
nightly:
if: github.repository == 'primefaces/primereact' && github.ref == 'refs/heads/master'
runs-on: ubuntu-latest
name: Node ${{ matrix.node-version }}

strategy:
matrix:
node-version: [16.x, 18.x]

steps:
- uses: actions/checkout@v2

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'

- name: Build
run: |
npm install
npm run build-lib

0 comments on commit 521dd5a

Please sign in to comment.