From 211e94abbc1fd57eb81b16ed8b7358cae4ec0734 Mon Sep 17 00:00:00 2001 From: Nihey Takizawa Date: Wed, 10 Jan 2024 14:22:31 -0300 Subject: [PATCH] fix: fix deployment pipeline not linting before the deployment is being done --- .github/workflows/test-and-publish.yml | 21 +-------------------- package.json | 2 +- 2 files changed, 2 insertions(+), 21 deletions(-) diff --git a/.github/workflows/test-and-publish.yml b/.github/workflows/test-and-publish.yml index 23e16fd..53b548d 100644 --- a/.github/workflows/test-and-publish.yml +++ b/.github/workflows/test-and-publish.yml @@ -5,26 +5,6 @@ on: types: [created] jobs: - build: - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v3 - - - name: Setup Node.js - uses: actions/setup-node@v3 - with: - node-version: '18.x' - - - name: Install dependencies - run: npm ci - - - name: Run lint - run: npm run eslint - - - name: Run build - run: npm run build - deploy: if: success() runs-on: ubuntu-latest @@ -35,6 +15,7 @@ jobs: node-version: '18.x' registry-url: 'https://registry.npmjs.org' - run: npm ci + - run: npm run eslint - run: npm run build - run: npm publish --access public env: diff --git a/package.json b/package.json index fd03f50..5566d00 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@videomatik/editor", - "version": "0.1.0", + "version": "0.1.1", "description": "Videomatik Editor as an Embeddable component", "main": "dist/editor.js", "scripts": {