Relative Content

Tag Archive for github-actionsyarnpkg

yarn build failed on GitHub Actions

name: code build on: push: branches: [ dev ] jobs: code-build: runs-on: ubuntu-latest permissions: contents: write steps: – uses: actions/checkout@v4 with: token: ${{ secrets.GHCR_TOKEN }} # location check – name: where now? run: pwd # location check – name: list check? run: ls #yarn install & build – name: Set up Node.js uses: actions/setup-node@master with: […]

yarn build on github action yaml failed

name: code build on: push: branches: [ dev ] jobs: code-build: runs-on: ubuntu-latest permissions: contents: write steps: - uses: actions/checkout@v4 with: token: ${{ secrets.GHCR_TOKEN }} # location check - name: where now? run: pwd # location check - name: list check? run: ls #yarn install & build - name: Set up Node.js uses: actions/setup-node@master with: node-version: 19.8.1 # location check - name: install run: | rm -rf /build yarn cache clean yarn install # location check - name: install check run: | ls ls node_modules pwd ls -al yarn add @babel/plugin-proposal-private-property-in-object --dev # node install&build - name: Run install # working-directory: ${{ github.workspace }} run: | mkdir build pwd ls yarn build