diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml new file mode 100644 index 00000000..978caa93 --- /dev/null +++ b/.github/workflows/check.yml @@ -0,0 +1,30 @@ +name: CI + +on: + push: + branches: + - main + - dev + pull_request: + branches: + - main + - dev + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v3 + + - name: Set up Node.js + uses: actions/setup-node@v3 + with: + node-version: '18' + + - name: Install dependencies + run: npm install -g yarn && yarn install + + - name: Run tests + run: npm run start -- --host 0.0.0.0 --port 3000 --locale en