diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2e48092..e8bd688 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -12,29 +12,28 @@ jobs: steps: - uses: actions/checkout@v2 with: - persist-credentials: false + fetch-depth: 0 - name: Setup Node.js uses: actions/setup-node@v2 with: node-version: 16.x + registry-url: 'https://registry.npmjs.org' + + - name: Config git user + run: | + git config --global user.name "${{ github.actor }}" + git config --global user.email "${{ github.actor }}@users.noreply.github.com" + - name: Install dependencies run: npm install - - name: Build app - run: npm run build-app - - name: Semantic release env: GITHUB_TOKEN: ${{ secrets.GH_MONOREPO_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }} run: npx semantic-release - - name: Config git user - run: | - git config --global user.name "${{ github.actor }}" - git config --global user.email "${{ github.actor }}@users.noreply.github.com" - - name: Bump versions run: | npm run version:ci