Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: add a build workflow #26

Merged
merged 4 commits into from
Sep 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: build

on:
push:
branches: [master]
pull_request:
branches: [master]

jobs:
build:
runs-on: ubuntu-latest
steps:
# This step uses the actions/checkout action to download a copy of your repository on the runner.
- name: Checkout repo
uses: actions/checkout@v3

# This step uses the actions/setup-node action to set up a Node.js environment on the runner.
- name: Setup Node.js 18
uses: actions/setup-node@v3
with:
node-version: 18

# This step runs npm ci to install any dependencies listed in your package.json file.
- name: Install dependencies
run: npm ci

# This step runs the build script if there is one specified under the scripts key in your package.json file.
- name: Build
run: npm run build --if-present
14 changes: 0 additions & 14 deletions .github/workflows/two_weeks_log_clearing.yml

This file was deleted.