Skip to content

Commit

Permalink
test: add ci test setep (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
marcolink authored Sep 28, 2024
1 parent 530c7b9 commit edebfb7
Show file tree
Hide file tree
Showing 8 changed files with 388 additions and 1,980 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,20 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Use Node.js 20.x
uses: actions/setup-node@v3
with:
node-version: 20.x

- name: Install dependencies
run: npm install

- name: Build
run: npm run build

- name: Test
run: npm run test

- name: Upload
uses: contentful/actions-app-deploy@v1
if: github.ref == 'refs/heads/main'
Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,5 @@ yarn-debug.log*
yarn-error.log*

# IDE
.idea
.idea
.tool-versions
Loading

0 comments on commit edebfb7

Please sign in to comment.