diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..b52b73b --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,23 @@ +on: + push: + branches: [ "*" ] + pull_request: + +jobs: + test: + strategy: + matrix: + node-version: ['latest', 'lts/iron'] + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + - name: Install Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v4 + with: + node-version: ${{ matrix.node-version }} + cache: yarn + - name: Install packages + run: corepack enable && yarn install --immutable + - name: Build with astro + run: yarn build \ No newline at end of file