Skip to content

Bump the nodejs group with 9 updates (#284) #113

Bump the nodejs group with 9 updates (#284)

Bump the nodejs group with 9 updates (#284) #113

Workflow file for this run

name: "test"
on:
push:
pull_request:
merge_group:
workflow_dispatch:
jobs:
test-unit:
runs-on: ubuntu-latest
permissions:
packages: read
contents: read
steps:
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633
- uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ github.token }}
- name: test
uses: devcontainers/ci@a56d055efecd725e8cfe370543b6071b79989cc8
with:
imageName: ghcr.io/${{ github.repository }}/devcontainer
cacheFrom: ghcr.io/${{ github.repository }}/devcontainer
push: never
runCmd: |
npm ci
npm test
test-run:
runs-on: ubuntu-latest
permissions:
packages: read
contents: read
steps:
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633
- uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ github.token }}
- name: build
uses: devcontainers/ci@a56d055efecd725e8cfe370543b6071b79989cc8
with:
imageName: ghcr.io/${{ github.repository }}/devcontainer
cacheFrom: ghcr.io/${{ github.repository }}/devcontainer
push: never
runCmd: |
npm ci
npm run build
- name: test run
uses: ./
with:
url: "https://raw.githubusercontent.com/${{ github.repository }}/${{ github.sha }}/tests/fixture/feed.xml"
file: "tests/fixture/input.md"
- name: check diff
run: diff tests/fixture/input.md tests/fixture/wants.md
conclude:
runs-on: ubuntu-latest
needs:
- test-unit
- test-run
if: always()
permissions:
actions: read
steps:
- uses: sarisia/actions/conclusion@main
id: ghapi
- name: report result
uses: sarisia/actions-status-discord@8b35962ad57c30272ae149c9ee193887b39e1b69
if: always()
with:
webhook: ${{ secrets.DISCORD_WEBHOOK }}
status: ${{ steps.ghapi.outputs.conclusion }}
title: ${{ github.workflow }} - conclusion