Skip to content

fix(CI): submodules

fix(CI): submodules #4

Workflow file for this run

name: Release
on:
push:
branches:
- main # adjust this to your main development branch if it's not "main"
workflow_dispatch: # this allows for manual triggering
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v2
with:
submodules: 'recursive' # ensures submodules are cloned properly
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '18' # adjust this to your project's Node.js version
- name: Install Dependencies
run: npm ci # or use "npm install" if you don't have a lock file
- name: Test
run: npm test # adjust this to your project's test command
- name: Semantic Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npx semantic-release