diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 76a114eb38..5e164b7f86 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -15,16 +15,12 @@ jobs: fetch-depth: 0 submodules: true - run: git fetch --depth=1 origin +refs/tags/*:refs/tags/* - - uses: actions/setup-node@v1 - with: - node-version: 12 - registry-url: https://registry.npmjs.org/ - run: yarn - run: grunt release --skip-tests - uses: tryghost/action-ghost-release@master - - run: npm publish + - run: npm publish --registry https://registry.npmjs.org/ env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}