diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..417f156 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,24 @@ +--- +name: rerobots JS tests +on: + push: + pull_request: +jobs: + build-and-test: + name: Build and test + runs-on: ubuntu-22.04 + strategy: + matrix: + node: ['18.18', '20', '22.4'] + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: + node-version: ${{ matrix.node }} + cache: yarn + - name: Installation + run: yarn install --frozen-lockfile + - name: Lint + run: | + yarn format:check + yarn lint