Skip to content

Upgrade dependencies #251

Upgrade dependencies

Upgrade dependencies #251

Workflow file for this run

name: "test-local"
on:
push:
branches:
- main
pull_request:
branches:
- '*'
jobs:
test:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- run: npm ci
- name: Testing / Linting
run: npm run test
- name: Package
run: npm run package
- name: Send a stream message
uses: ./send-message
with:
email: '[email protected]'
api-key: ${{ secrets.ZULIP_API_KEY }}
organization-url: 'https://github-actions-test.zulipchat.com'
to: 'test'
type: 'stream'
topic: 'github actions'
content: 'I come not, friends, to steal away your hearts.'
if: ${{ secrets.ZULIP_API_KEY != '' }}

Check failure on line 29 in .github/workflows/local-test.yml

View workflow run for this annotation

GitHub Actions / test-local

Invalid workflow file

The workflow is not valid. .github/workflows/local-test.yml (Line: 29, Col: 13): Unrecognized named-value: 'secrets'. Located at position 1 within expression: secrets.ZULIP_API_KEY != '' .github/workflows/local-test.yml (Line: 39, Col: 13): Unrecognized named-value: 'secrets'. Located at position 1 within expression: secrets.ZULIP_API_KEY != ''
- name: Send a private message
uses: ./send-message
with:
email: '[email protected]'
api-key: ${{ secrets.ZULIP_API_KEY }}
organization-url: 'https://github-actions-test.zulipchat.com'
to: '423060'
type: 'private'
content: 'With mirth and laughter let old wrinkles come.'
if: ${{ secrets.ZULIP_API_KEY != '' }}
failure:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- run: npm ci
- name: Testing / Linting
run: npm run test
- name: Package
run: npm run package
- name: Missing API key and password
uses: ./send-message
with:
email: '[email protected]'
organization-url: 'https://github-actions-test.zulipchat.com'
to: 'test'
type: 'stream'
topic: 'github actions'
content: 'I come not, friends, to steal away your hearts.'
continue-on-error: true
- name: Wrong organization URL
uses: ./send-message
with:
email: '[email protected]'
api-key: ${{ secrets.ZULIP_API_KEY }}
organization-url: 'https://org.zulipchat.com'
to: '282093'
type: 'private'
content: 'With mirth and laughter let old wrinkles come.'
continue-on-error: true