Skip to content

fix: Take encoded message data as parameter + make channel optional #748

fix: Take encoded message data as parameter + make channel optional

fix: Take encoded message data as parameter + make channel optional #748

Workflow file for this run

name: build
on: [push]
jobs:
lint:
uses: ./.github/workflows/lint.yml
release:
needs: lint
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, 'ci skip') && !contains(github.event.head_commit.message, 'skip ci')"
steps:
- name: Checkout repository
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Setup node
uses: actions/setup-node@v2
env:
NPM_TOKEN: '' # https://github.com/JS-DevTools/npm-publish/issues/15
with:
cache-dependency-path: package.json # we don't have a package-lock.json so we'll use this instead...
node-version: "18"
- name: Run `npm install --no-package-lock` on cli-output-helpers
run: npm install --no-package-lock
working-directory: tools/cli-output-helpers
- name: Build cli-output-helpers
run: npm run build
working-directory: tools/cli-output-helpers
- name: Run `npm install --no-package-lock` on nevermore-template-helpers
run: npm install --no-package-lock
working-directory: tools/nevermore-template-helpers
- name: Build nevermore-template-helpers
run: npm run build
working-directory: tools/nevermore-template-helpers
- name: Run `npm install --no-package-lock` on nevermore-cli
run: npm install --no-package-lock
working-directory: tools/nevermore-cli
- name: Build nevermore-cli
run: npm run build
working-directory: tools/nevermore-cli
- name: Run npm install
run: npm install --no-save
- name: Create Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npx auto shipit
- name: Upload lerna logs
if: failure()
uses: actions/upload-artifact@v3
with:
name: lerna-debug.log
path: lerna-debug.log