Skip to content

chore: update result name to run name (#226) #184

chore: update result name to run name (#226)

chore: update result name to run name (#226) #184

Workflow file for this run

name: Build
on:
push:
paths-ignore:
- 'README.md'
branches:
- main
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
node-version: [20.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm run test
env:
CI: true
- run: node src/cli.js publish --slack '{SLACK_MVP_URL}' --title 'Unit Tests' --ci-info --chart-test-summary --junit 'results/junit.xml'
if: always()
env:
TEST_BEATS_API_KEY: ${{ secrets.TEST_BEATS_API_KEY }}
SLACK_MVP_URL: ${{ secrets.SLACK_MVP_URL }}
- uses: actions/upload-artifact@v4
if: always()
with:
name: results-${{ matrix.os }}-${{ matrix.node-version }}
path: results/