From 81fcd4c027ad2f3c0d4018dc6fa042c1ead9bca7 Mon Sep 17 00:00:00 2001 From: Brayan Perez Date: Tue, 19 Mar 2024 19:13:05 -0500 Subject: [PATCH] Add new pipeline workflow --- .github/workflows/pipeline.yml | 21 +++++++++++++++++++++ .gitignore | 1 + 2 files changed, 22 insertions(+) create mode 100644 .github/workflows/pipeline.yml diff --git a/.github/workflows/pipeline.yml b/.github/workflows/pipeline.yml new file mode 100644 index 0000000..8d04591 --- /dev/null +++ b/.github/workflows/pipeline.yml @@ -0,0 +1,21 @@ +name: Deployment pipeline + +on: + push: + branches: + - main + +jobs: + deploy: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 0 + - uses: actions/setup-node@v4 + with: + node-version: '20' + - name: Install dependencies + run: npm install + - name: Linter + run: npm run lint \ No newline at end of file diff --git a/.gitignore b/.gitignore index 403adbc..6c976e9 100644 --- a/.gitignore +++ b/.gitignore @@ -6,6 +6,7 @@ node_modules # local env files .env.local .env.*.local +.env # Log files npm-debug.log*