Skip to content

Commit

Permalink
Add a Github Actions AI workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
watsonbox committed Sep 21, 2024
1 parent 19929e6 commit 48f77d3
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: CI

on: [push, pull_request, workflow_dispatch]

permissions:
contents: write

jobs:
build:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [18.x]

steps:
- uses: actions/checkout@v4
- name: 🛠️ Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'yarn'
- name: 📦 Install dependencies
run: yarn install
- name: 🧪 Test
run: yarn test
- name: 🔨 Build
run: yarn build
- name: 🚀 Create release
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
draft: true
files: |
main.js
manifest.json
styles.css

0 comments on commit 48f77d3

Please sign in to comment.