Skip to content

Merge pull request #513 from Quenty/users/quenty/rect #736

Merge pull request #513 from Quenty/users/quenty/rect

Merge pull request #513 from Quenty/users/quenty/rect #736

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