Skip to content

Commit

Permalink
Merge pull request #3 from oss/automation
Browse files Browse the repository at this point in the history
Automation
  • Loading branch information
kevinmonisit authored Jan 26, 2024
2 parents fc9f7ea + 1c753ea commit 90a86c7
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: CI

on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-20.04
strategy:
matrix:
node-version: [20]
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
with:
version: 8
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'
- name: Install dependencies
run: pnpm install

- name: Build
run: npm run build

- name: Archive Production Build
run: zip -r dist.zip dist/

- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: dist.zip

0 comments on commit 90a86c7

Please sign in to comment.