Skip to content

Commit

Permalink
Create build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ozgurakgun authored Jul 1, 2024
1 parent 7b6f1af commit 6c3138e
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Testing npm build

on:
push:
branches:
- main

permissions:
contents: write

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- uses: actions/setup-node@v4
with:
node-version: 21
cache: npm

- name: Build
run: |
npm ci
npm run build
# creates a .nojekyll file in the out directory to tell GitHub Pages not to treat the site as a Jekyll project.
touch out/.nojekyll

0 comments on commit 6c3138e

Please sign in to comment.