22 lines
483 B
YAML
22 lines
483 B
YAML
name: Deployment CI/CD
|
|
on: [push]
|
|
|
|
jobs:
|
|
test-job:
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
node-version: [18.x]
|
|
steps:
|
|
- name: Message de confirmation
|
|
run: ls -a
|
|
|
|
- name: Checkout repository code
|
|
uses: https://gitea.com/actions/checkout@v4
|
|
with:
|
|
ref: 'main'
|
|
|
|
- name: Use Node.js ${{ matrix.node-version }}
|
|
uses: actions/setup-node@v4
|
|
with:
|
|
node-version: ${{ matrix.node-version }} |