This repository has been archived by the owner on Nov 6, 2024. It is now read-only.
chore(deps): bump undici from 5.27.2 to 5.28.3 #1353
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: tests | |
on: [push, pull_request] | |
jobs: | |
tests: | |
name: node ${{ matrix.node-version }} / ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
node-version: [16, 18] | |
os: [ubuntu-latest, windows-latest, macOS-latest] | |
steps: | |
- uses: actions/checkout@v3.0.2 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- run: npm install | |
- run: npm test | |
env: | |
GITHUB_TOKEN: ${{ github.token }} | |
### below are just test cases ### | |
notify-custom-name: | |
runs-on: ${{ matrix.os }} | |
name: custom name | |
strategy: | |
matrix: | |
os: [ubuntu-latest, windows-latest] | |
steps: | |
- name: Notify slack | |
uses: 'wixplosives/action-slack-message@master' | |
env: | |
GITHUB_TOKEN: ${{ github.token }} | |
with: | |
text: 'Custom name with OS matrix' | |
status: ${{job.status}} | |
channel: 'testing-yarden-public' | |
slack_token: ${{ secrets.SLACK_BOT_TOKEN }} | |
custom_job_name: custom name | |
notify-2-node-versions: # Send a Slack message | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [16, 18] | |
steps: | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node }} | |
- name: Notify slack | |
uses: 'wixplosives/action-slack-message@master' | |
env: | |
GITHUB_TOKEN: ${{ github.token }} | |
with: | |
text: '2 OS - Details should only detail the Node Version' | |
status: ${{job.status}} | |
channel: 'testing-yarden-public' | |
slack_token: ${{ secrets.SLACK_BOT_TOKEN }} | |
notify-3-os-on-2-nodes-matrix: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
node-version: [16, 18] | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
steps: | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node }} | |
- name: Notify slack | |
uses: 'wixplosives/action-slack-message@master' | |
env: | |
GITHUB_TOKEN: ${{ github.token }} | |
with: | |
text: '3 OS + 2 Nodes - Full detail' | |
status: ${{job.status}} | |
channel: 'testing-yarden-public' | |
slack_token: ${{ secrets.SLACK_BOT_TOKEN }} | |
notify-2-os-matrix: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, windows-latest] | |
steps: | |
- name: Notify slack | |
uses: 'wixplosives/action-slack-message@master' | |
env: | |
GITHUB_TOKEN: ${{ github.token }} | |
with: | |
text: '2 OS - Details should only detail the OS' | |
status: ${{job.status}} | |
channel: 'testing-yarden-public' | |
slack_token: ${{ secrets.SLACK_BOT_TOKEN }} | |
notify-1-os-1-node: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
- name: Notify slack | |
uses: 'wixplosives/action-slack-message@master' | |
env: | |
GITHUB_TOKEN: ${{ github.token }} | |
with: | |
text: '1 OS 1 node: no details' | |
status: ${{job.status}} | |
channel: 'testing-yarden-public' | |
slack_token: ${{ secrets.SLACK_BOT_TOKEN }} | |
notify-1-os-only: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Notify slack | |
uses: 'wixplosives/action-slack-message@master' | |
env: | |
GITHUB_TOKEN: ${{ github.token }} | |
with: | |
text: '1 OS: no details' | |
status: ${{job.status}} | |
channel: 'testing-yarden-public' | |
slack_token: ${{ secrets.SLACK_BOT_TOKEN }} | |
notify-2-os-1-node-as-matrix: | |
runs-on: ${{ matrix.os }} | |
name: custom name / ${{ matrix.os }} | |
strategy: | |
matrix: | |
node-version: [16] | |
os: [ubuntu-latest, windows-latest] | |
steps: | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node }} | |
- name: Notify slack | |
uses: 'wixplosives/action-slack-message@master' | |
env: | |
GITHUB_TOKEN: ${{ github.token }} | |
with: | |
custom_job_name: custom name / ${{ matrix.os }} | |
text: '2 OS, 1 Node in matrix: ${{ matrix.os }}' | |
status: ${{job.status}} | |
channel: 'testing-yarden-public' | |
slack_token: ${{ secrets.SLACK_BOT_TOKEN }} | |
use-simple-output: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Notify slack | |
uses: 'wixplosives/action-slack-message@master' | |
env: | |
GITHUB_TOKEN: ${{ github.token }} | |
with: | |
text: 'Output with no attachment' | |
status: ${{job.status}} | |
channel: 'testing-yarden-public' | |
slack_token: ${{ secrets.SLACK_BOT_TOKEN }} | |
output_format: simple |