fix(ci):test #13
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.PLUTO_GITHUB }} | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | |
run: npx semantic-release |