Skip to content

Merge pull request #15 from nabla-studio/DavideSegullo/feat-sign #23

Merge pull request #15 from nabla-studio/DavideSegullo/feat-sign

Merge pull request #15 from nabla-studio/DavideSegullo/feat-sign #23

Workflow file for this run

name: Release
on:
push:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node_version: [18]
steps:
- uses: actions/checkout@v4
- name: Setup
uses: ./.github/actions/setup
with:
node_version: ${{ matrix.node_version }}
git_bot_token: ${{ secrets.GITHUB_TOKEN }}
- name: Test
uses: ./.github/actions/test
release:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main'
needs: [test]
steps:
- uses: actions/checkout@v4
- name: Setup
uses: ./.github/actions/setup
with:
git_bot_token: ${{ secrets.GITHUB_TOKEN }}
- name: Release
uses: ./.github/actions/release
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
npm_token: ${{ secrets.NPM_TOKEN }}