fix: change sdk sdk-test to 3d37d905cbcf434b4bee84205523930f81ce33ff #295
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: CI | |
on: | |
push: | |
branches: [develop, master, next, beta, alpha] | |
pull_request: | |
branches: [develop, master, next, beta, alpha] | |
permissions: | |
packages: write | |
contents: write | |
issues: write | |
pull-requests: write | |
env: | |
PRIMARY_NODE_VERSION: 18 | |
jobs: | |
install: | |
name: Checkout and Install | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install | |
uses: ./.github/actions/install | |
with: | |
node-version: ${{ env.PRIMARY_NODE_VERSION }} | |
build: | |
name: Build | |
needs: [install] | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install | |
uses: ./.github/actions/install | |
with: | |
node-version: ${{ env.PRIMARY_NODE_VERSION }} | |
- name: Build | |
uses: ./.github/actions/build | |
test: | |
name: Test | |
needs: [ build ] | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install | |
uses: ./.github/actions/install | |
with: | |
node-version: ${{ env.PRIMARY_NODE_VERSION }} | |
- name: Build | |
uses: ./.github/actions/build | |
- name: Build an image | |
run: npm run cli -- build python/base | |
release: | |
name: Release | |
needs: [build, test] | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Install | |
uses: ./.github/actions/install | |
with: | |
node-version: ${{ env.PRIMARY_NODE_VERSION }} | |
- name: Build | |
uses: ./.github/actions/build | |
# - name: Release | |
# env: | |
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
# NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | |
# run: npx semantic-release |