From bd8d6d3e98115598a2b8b00a8d51aaa7da0bf5fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8F=AA=E6=8D=B1=E5=AE=85?= Date: Mon, 23 Sep 2019 20:55:23 +0800 Subject: [PATCH] Delete publish-to-github-package.yml --- .../workflows/publish-to-github-package.yml | 76 ------------------- 1 file changed, 76 deletions(-) delete mode 100644 .github/workflows/publish-to-github-package.yml diff --git a/.github/workflows/publish-to-github-package.yml b/.github/workflows/publish-to-github-package.yml deleted file mode 100644 index 80ebd2041cd6..000000000000 --- a/.github/workflows/publish-to-github-package.yml +++ /dev/null @@ -1,76 +0,0 @@ -name: Publish to github-package -on: - release: - types: [published] - -jobs: - compile: - runs-on: ubuntu-latest - - steps: - - name: checkout - uses: actions/checkout@master - - - uses: actions/setup-node@v1 - with: - node-version: '12.x' - registry-url: 'https://registry.npmjs.org' - - - name: install - run: npm install - - - name: compile - run: npm run compile - - - name: dist - run: npm run dist - - - uses: actions/upload-artifact@master - with: - name: esm - path: es - - - uses: actions/upload-artifact@master - with: - name: cjs - path: lib - - - uses: actions/upload-artifact@master - with: - name: dist - path: dist - - - uses: actions/upload-artifact@master - with: - name: package - path: package.json - - publish: - runs-on: ubuntu-latest - - steps: - - uses: actions/download-artifact@master - with: - name: esm - - - uses: actions/download-artifact@master - with: - name: cjs - - - uses: actions/download-artifact@master - with: - name: dist - - - uses: actions/download-artifact@master - with: - name: package - - - uses: actions/setup-node@v1 - with: - node-version: '12.x' - registry-url: 'https://npm.pkg.github.com' - - - name: publish - run: npm publish - env: - NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}