Skip to content

Commit

Permalink
Add github actions workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
TymanWasTaken committed Jul 23, 2024
1 parent 5b5cc03 commit 76ad474
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 76ad474

Please sign in to comment.