Skip to content

Merge branch 'master' of https://github.com/taigongzhaihua/AutoRule #1

Merge branch 'master' of https://github.com/taigongzhaihua/AutoRule

Merge branch 'master' of https://github.com/taigongzhaihua/AutoRule #1

Workflow file for this run

name: Run tests on PRs
on:
pull_request:
branches:
- master
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
<<<<<<< HEAD

Check failure on line 16 in .github/workflows/pr.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/pr.yml

Invalid workflow file

You have an error in your yaml syntax on line 16
=======
- name: Setup timezone
run: |
sudo timedatectl set-timezone Asia/Shanghai
>>>>>>> 41e6388fdb02a9a480f7c8cbf2dd616cda70d7fc
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: '21'
- name: Install dependencies
run: yarn install
- name: Run tests
run: yarn test