Skip to content

Commit

Permalink
Add: github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Josmun55 committed Feb 7, 2024
1 parent 26d3513 commit 9de0b6e
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/build.yml
@@ -0,0 +1,10 @@
name: build
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- run: npm install
- run: npm run build
4 changes: 4 additions & 0 deletions .github/workflows/npm-publish.yml
Expand Up @@ -2,6 +2,10 @@
name: NPM Publish

on:
workflow_run:
workflows: [build]
types:
- completed
push:
branches:
-main
Expand Down

0 comments on commit 9de0b6e

Please sign in to comment.