We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The default deploy action is as follows:
name: Npm deployment on: push: branches: - main jobs: Deploy: runs-on: ubuntu-latest if: "! contains(toJSON(github.event.commits.*.message), '[skip ci]')" steps: - name: Checkout repo uses: actions/checkout@v2 - name: Use Node.js v16 uses: actions/setup-node@v2 with: node-version: 16 - name: Set yarn cache uses: c-hive/gha-yarn-cache@v2 - name: Init run: make github-action-init - name: Blocklet workflow uses: blocklet/[email protected] with: skip-upload: false bundle-command: yarn bundle store-endpoint: ${{ secrets.STORE_ENDPOINT_DEV }} store-access-token: ${{ secrets.STORE_ACCESS_TOKEN_DEV }} github-token: ${{ secrets.GITHUB_TOKEN }}
It breaks on the step Set yarn cache:
Set yarn cache
I suggest that we could use action/setup-node to cache the dependencies. It supports multiple package managers and uses action/cache under the hood.
The text was updated successfully, but these errors were encountered:
you might need change this ci workflow to pnpm version which should be like this
name: Npm deployment on: push: branches: - main jobs: Deploy: runs-on: ubuntu-latest if: "! contains(toJSON(github.event.commits.*.message), '[skip ci]')" steps: - name: Checkout repo uses: actions/checkout@v2 - uses: pnpm/[email protected] with: version: latest - name: Use Node.js 16 uses: actions/setup-node@v2 with: node-version: "16" cache: "pnpm" - name: Init run: make github-action-init - name: Blocklet workflow uses: blocklet/[email protected] with: skip-upload: false bundle-command: pnpm bundle store-endpoint: ${{ secrets.STORE_ENDPOINT_DEV }} store-access-token: ${{ secrets.STORE_ACCESS_TOKEN_DEV }} github-token: ${{ secrets.GITHUB_TOKEN }}
Sorry, something went wrong.
No branches or pull requests
The default deploy action is as follows:
It breaks on the step
Set yarn cache
:I suggest that we could use action/setup-node to cache the dependencies. It supports multiple package managers and uses action/cache under the hood.
The text was updated successfully, but these errors were encountered: