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