Skip to content

Commit

Permalink
ci: added test github action workflow file
Browse files Browse the repository at this point in the history
  • Loading branch information
FajarKim committed Nov 4, 2023
1 parent fb0608b commit a5c96fa
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Test
on:
push:
branches:
- master
pull_request:
branches:
- master

permissions: read-all

jobs:
build:
name: Perform check
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]

steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1

- name: Setup Node
uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0
with:
node-version: ${{ matrix.node-version }}
cache: npm

- name: Install & Build
run: |
npm ci
npm i typescript
npm run build

0 comments on commit a5c96fa

Please sign in to comment.