Skip to content

Commit

Permalink
Test github build action
Browse files Browse the repository at this point in the history
  • Loading branch information
proudparrot2 committed Jan 9, 2024
1 parent 38f39d1 commit d2ade73
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Build

on:
push:
branches:
- main

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout repo
uses: actions/checkout@v3

- name: Setup Node
uses: actions/setup-node@v3

- name: Install dependencies
uses: bahmutov/npm-install@v1

- name: Install Dependencies
run: |
npm install
- name: Build
run: |
npm run build
- name: Push to build branch
run: |
git checkout -b build
git add -f .dist
git commit -m "Build"
git push origin build
- name: Clean up
run: |
git checkout main

0 comments on commit d2ade73

Please sign in to comment.