Skip to content

node-setup@v1 permission denied, mkdir '/home/actions' when checking cach #23

Closed
@bdougie

Description

@bdougie

What is this?

I added Actions to my repo using the node-setup@v1 (added by clicking the template) to my repo and received the below error message.

##[debug]checking cache: /home/actions/cache/node/10.16.1/x64
##[debug]not found
##[error]EACCES: permission denied, mkdir '/home/actions'
##[error]Node run failed with exit code 1

Reverting to node-setup@master, which is currently 2 commits behind the v1 release works without an issue. Those commits seem trivial as well, just removing node_modules.

thought

My guess is that it has to do with the current failure on the v1-release but it doesn't seem to be related. I am not sure what PR #21 is related to but it doesn't seem to anything to do with this as well.

details

repo/pr in question: https://github.com/github/newsletter-bot/pull/8/files
failing check: https://github.com/github/newsletter-bot/pull/8/checks?check_run_id=185763954

// nodejs.yml

on: [push]

name: Node.js

jobs:

  build:
    name: Build
    runs-on: ubuntu-latest
    steps:

    - uses: actions/checkout@master

    - name: Use Node.js 10.x
      uses: actions/setup-node@v1
      with:
        version: 10.x

    - name: npm install, build, and test
      run: |
        npm install
        npm run build --if-present
        npm test

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions