Skip to content

testing

testing #2

Workflow file for this run

name: test,lint,deploy
on: push
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: download the project
uses: actions/checkout@v4
- name: install nodejs
uses: actions/setup-node@v4
with:
node-version: 18
- name: install all dependencies
run: npm install
- name: test
run: npm test
- name: lint
run: npm lint
yamllint:
runs-on: ubuntu-latest
steps:
- name: checkout the repository
uses: actions/checkout@v4
- name: set up python
uses: actions/setup-python@v4
- name: Install yamllint
run: pip install yamllint
- name: run yamllint
run: yamllint . --strict
deploy:
runs-on: ubuntu-latest
steps:
- name: deploy
run: echo "deploying ......."