fix: 目录权限问题,npm的global目录下应该都为非root用户权限 #9
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Upload node-cn to docker.io | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Docker login | |
run: echo "${{ secrets.DOCKER_HUB_SECRET }}" | docker login -u ${{ secrets.DOCKER_HUB_USER }} --password-stdin | |
- name: Run Make | |
run: make |