Skip to content

Commit

Permalink
chore(ci): add GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
ayushmanchhabra committed Feb 15, 2024
1 parent 5e05f62 commit 93bcc8b
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: test

on:
push:
branches: ["*"]

concurrency:
group: ${{ github.ref }}
cancel-in-progress: true

jobs:
test:
runs-on: ubuntu-22.04
steps:
- name: Checkout repository
uses: actions/[email protected]
- name: Use Node version defined in manifest
uses: volta-cli/action@v4
- name: Node.js version
run: node -v
- name: npm version
run: npm -v
- name: Install dependencies
run: npm ci
- name: Check for build errors
run: npm run build
- name: Run test suite
run: npm test

0 comments on commit 93bcc8b

Please sign in to comment.