diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3101a1c..87492cc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,18 +2,17 @@ on: - pull_request - push jobs: - tests: - name: Tests + ci: runs-on: ubuntu-latest steps: - - name: Checkout - uses: actions/checkout@v3 - - name: Set up Node - uses: actions/setup-node@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: - cache: 'npm' - node-version: 16 - - name: Install dependencies - run: npm install - - name: Run tests - run: npm run test + node-version: 20 + - run: npm run test + - run: npm run build + #if: github.ref == 'refs/heads/main' + - uses: JamesIves/github-pages-deploy-action@v4 + with: + folder: build + #if: github.ref == 'refs/heads/main'