Skip to content

Commit

Permalink
chore: 🤖 update github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
shaharkazaz committed Mar 22, 2023
1 parent 5885f95 commit 02d51c6
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 30 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Test

on:
push:
branches: [master]
pull_request:

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Npm install
uses: actions/setup-node@v3
with:
node-version: 16
cache: 'npm'
- run: npm i

- name: Run build
run: npm run build:lib
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Npm install
uses: actions/setup-node@v3
with:
node-version: 16
cache: 'npm'
- run: npm i

- name: Run tests
- run: npm run test:lib:headless
30 changes: 0 additions & 30 deletions .github/workflows/test.yml

This file was deleted.

0 comments on commit 02d51c6

Please sign in to comment.