Skip to content

feat: no zalando

feat: no zalando #626

Workflow file for this run

name: CI
on: [ push, pull_request ]
jobs:
test:
name: Test
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup
uses: actions/setup-node@v4
- name: Install
run: yarn
- name: Install
run: npx packasso install
- name: Test
run: npx packasso test
publish:
name: Publish
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
runs-on: ubuntu-latest
needs: test
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup
uses: actions/setup-node@v4
- name: Install
run: yarn
- name: Install
run: npx packasso install
- name: Build
run: yarn build
- name: Publish
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./target/radar
commit_message: "docs: update tech-radar static"
allow_empty_commit: true
enable_jekyll: false
release:
name: Release
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
needs: test
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
persist-credentials: false
fetch-depth: 0
- name: Setup
uses: actions/setup-node@v4
- name: Install
run: yarn
- name: Install
run: npx packasso install
- name: Build
run: npx packasso build
- name: Test
run: npx packasso test
- name: Code Climate
uses: paambaati/codeclimate-action@v5.0.0
env:
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
with:
coverageLocations: |
${{ github.workspace }}/target/coverage/lcov.info:lcov
- name: Release
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
GIT_COMMITTER_EMAIL: ${{ secrets.GIT_COMMITTER_EMAIL }}
GIT_COMMITTER_NAME: ${{ secrets.GIT_COMMITTER_NAME }}
run: npx packasso release