Upgrade dependencies #251
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: "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 GitHub Actions / test-localInvalid workflow file
|
||
- 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 |