Skip to content

Commit

Permalink
chore(test): add test github action (react-grid-layout#1854)
Browse files Browse the repository at this point in the history
* chore(test): add test github action

* fix(packj): fix version typo
  • Loading branch information
STRML authored Mar 6, 2023
1 parent d24448e commit 8a7b828
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/packj.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:

# Audit
- name: Audit dependencies
uses: ossillate-inc/packj-github-action@0.0.7-beta
uses: ossillate-inc/packj-github-action@v0.0.7-beta

with:
DEPENDENCY_FILES: npm:package.json
Expand Down
27 changes: 27 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: CI
on:
# Trigger the workflow on push or pull request,
# but only for the master branch
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check out Git repository
uses: actions/checkout@v2

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

- name: Install Node.js dependencies
run: yarn

- name: Run tests
run: yarn test

0 comments on commit 8a7b828

Please sign in to comment.