From 8f490f2426593de291f93bc1ef0dfb63d938aa0d Mon Sep 17 00:00:00 2001 From: Christian Kellner Date: Fri, 9 May 2025 09:46:33 +0200 Subject: [PATCH] improve test runner --- .github/workflows/test.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) 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