diff --git a/.github/workflows/pipeline.yml b/.github/workflows/pipeline.yml new file mode 100644 index 0000000..7a0ed4c --- /dev/null +++ b/.github/workflows/pipeline.yml @@ -0,0 +1,21 @@ +name: Deployment Pipeline + +on: + push: + branches: + - main + +jobs: + deploy: + runs-on: ubuntu-18.04 + steps: + - uses: actions/checkout@v2 + with: + fetch-depth: 0 + - uses: actions/setup-node@v2 + with: + node-version: '14' + - name: Install dependencies + run: npm install + - name: Lint + run: npm run eslint \ No newline at end of file