Skip to content

Commit

Permalink
dev: add github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
k11q committed Jul 14, 2023
1 parent a129dca commit e177669
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Build Test

on: [push]

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Setup Node.js environment
uses: actions/setup-node@v2
with:
node-version: 14

- name: Install dependencies
run: cd packages/radix-vue && npm ci

- name: Build
run: cd packages/radix-vue && npm run build

- name: Check for errors
run: |
if [ $? -eq 0 ]; then
echo "Build succeeded"
else
echo "Build failed"
exit 1
fi

0 comments on commit e177669

Please sign in to comment.