Skip to content

Commit

Permalink
Add workflow_dispatch to build
Browse files Browse the repository at this point in the history
  • Loading branch information
desjoerd committed Feb 13, 2024
1 parent a7540c2 commit 490a162
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- main
workflow_dispatch:

jobs:
build:
Expand All @@ -13,20 +14,20 @@ jobs:
uses: styfle/cancel-workflow-action@0.10.0
with:
access_token: ${{ github.token }}

- name: ⬇️ Checkout repo
uses: actions/checkout@v3

- name: ⎔ Setup node
uses: actions/setup-node@v3
with:
node-version: 18

- name: 📥 Download deps
uses: bahmutov/npm-install@v1
with:
working-directory: .

- name: 🏗️ Build
run: npm run build

Expand Down

0 comments on commit 490a162

Please sign in to comment.