diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index bad096e..8cc9cf4 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,23 +1,23 @@ name: Test on: push: - branches: - - master + branches: [master] pull_request: - branches: - - master + branches: [master] schedule: - - cron: '0 12 * * *' + - cron: '0 12 * * *' + jobs: test: - name: Test runs-on: ubuntu-latest steps: - - uses: actions/checkout@v1 - - name: Setup node - uses: actions/setup-node@v2.5.1 + - uses: actions/checkout@v4 + + - name: Setup Node.js + uses: actions/setup-node@v4 with: node-version: 20 cache: 'yarn' + - run: yarn install - - run: yarn run test + - run: yarn test