diff --git a/.github/workflows/normal.yml b/.github/workflows/normal.yml index 3200190..39ac0bb 100644 --- a/.github/workflows/normal.yml +++ b/.github/workflows/normal.yml @@ -1,10 +1,13 @@ name: Normal on: + schedule: + # * is a special character in YAML so you have to quote this string + - cron: '30 5,17 * * *' push: - branches: [ "gh-pages" ] + branches: [ "main" ] pull_request: - branches: [ "gh-pages" ] + branches: [ "main" ] jobs: normal-tests: @@ -15,15 +18,23 @@ jobs: steps: - name: Install PHP ${{ matrix.php-version }} - uses: shivammathur/setup-php@2.30.0 + uses: shivammathur/setup-php@v2 with: php-version: ${{ matrix.php-version }} #extensions: mbstring - name: Install Node.js - uses: actions/setup-node@v4 + uses: actions/setup-node@v3 with: - node-version: latest + # Version Spec of the version to use in SemVer notation. + # It also emits such aliases as lts, latest, nightly and canary builds + # Examples: 12.x, 10.15.1, >=10.15.0, lts/Hydrogen, 16-nightly, latest, node + node-version: 'lts/*' + # Set this option if you want the action to check for the latest available version + # that satisfies the version spec. + # It will only get affect for lts Nodejs versions (12.x, >=10.15.0, lts/Hydrogen). + # Default: false + check-latest: true - name: Checkout Repo uses: actions/checkout@v4