Skip to content

Commit

Permalink
Integration Tests
Browse files Browse the repository at this point in the history
Signed-off-by: macdonst <[email protected]>
  • Loading branch information
macdonst committed Mar 7, 2024
1 parent 0085de1 commit 5d896a2
Showing 1 changed file with 20 additions and 5 deletions.
25 changes: 20 additions & 5 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,28 +8,43 @@ defaults:
shell: bash

jobs:
test:
# Setup
runs-on: ubuntu-latest

# Go
steps:
- name: Check out repo
uses: actions/checkout@v4

- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 16

- name: Integration Tests
uses: enhance-dev/actions/integration@main

# ----- Only git tag testing + package publishing beyond this point ----- #

# Publish to package registries
publish:
# Setup
needs: test
if: startsWith(github.ref, 'refs/tags/v')
runs-on: ubuntu-latest

# Go
steps:
- name: Check out repo
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 16
registry-url: https://registry.npmjs.org/

- name: Create manifest.json
run: node scripts/create-manifest.js

# Publish to npm
- name: Publish @RC to npm
if: contains(github.ref, 'RC')
Expand Down

0 comments on commit 5d896a2

Please sign in to comment.