Skip to content

Merge pull request #36 from ebenjs/feature-interactive-mode #42

Merge pull request #36 from ebenjs/feature-interactive-mode

Merge pull request #36 from ebenjs/feature-interactive-mode #42

Workflow file for this run

# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs
name: gpt-shell release
on:
push:
branches: ["main", "develop"]
pull_request:
branches: ["main", "develop"]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
issues: write
pull-requests: write
id-token: write
strategy:
matrix:
node-version: [18.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: "npm"
- run: npm install
- run: npm run lint:fix
- run: npm test
- run: npm run format
- run: npm run build
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: npx semantic-release