Node.js ⬢ CI #4
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: Node.js ⬢ CI | |
run-name: Node.js ⬢ CI | |
on: | |
push: | |
branches: [develop] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [22.x] | |
steps: | |
- name: Checkout 📖 | |
uses: actions/checkout@v4 | |
- name: Use Node.js ${{ matrix.node-version }} 🚀 | |
run: echo "Using Node.js ${{ matrix.node-version }} ${{github.workflow}} ${{github.event_name}} ${{github.actor}}" | |
- name: more and mode | |
env: | |
JOB_CONTEXT: ${{toJson(job)}} | |
# status to this point | |
run: | | |
echo "Job context: ${JOB_CONTEXT}" | |
echo "Done!!!" | |
# JOB_CONTEXT.status === 'fail', send notification to slack |