From 5ce106861964deeaec8b9a07035e806c426d9bcd Mon Sep 17 00:00:00 2001 From: cedoor Date: Tue, 19 Oct 2021 12:19:12 +0200 Subject: [PATCH] ci: remove npm-publish workflow Former-commit-id: e94256b046c20d270ad379014828450b199370f2 [formerly 94a7b5c65dd8ff00b3137b042b5b14965fdf6fe1] Former-commit-id: d8846f8c85a1a70e6e7f9912392692b011ef00fd --- .github/workflows/npm-publish.yml | 19 ------------------- .github/workflows/test.yml | 30 +++++++++++++++--------------- 2 files changed, 15 insertions(+), 34 deletions(-) delete mode 100644 .github/workflows/npm-publish.yml diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml deleted file mode 100644 index 8f73da0..0000000 --- a/.github/workflows/npm-publish.yml +++ /dev/null @@ -1,19 +0,0 @@ -name: publish-npm -on: - push: - branches: - - master - -jobs: - publish: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 - with: - node-version: 16 - - run: npm ci - # - run: npm test - - uses: JS-DevTools/npm-publish@v1 - with: - token: ${{ secrets.NPM_TOKEN }} diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 23b2fa4..3cf5cd3 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,23 +1,23 @@ name: test on: - pull_request: - push: - branches: - - dev + pull_request: + push: + branches: + - dev jobs: - test: - runs-on: ubuntu-latest + test: + runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 + steps: + - uses: actions/checkout@v2 - - name: Use Node.js 16.x - uses: actions/setup-node@v1 - with: - node-version: 16.x + - name: Use Node.js 16.x + uses: actions/setup-node@v1 + with: + node-version: 16.x - - run: npm ci - - run: npm run lint - - run: npm test + - run: npm ci + - run: npm run lint + - run: npm test