diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index d5234cb..72065e1 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -24,7 +24,7 @@ jobs: uses: actions/setup-node@v4.1.0 with: always-auth: true - node-version: 20 + node-version-file: '.nvmrc' registry-url: 'https://registry.npmjs.org' scope: '@ivuorinen' diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index f4169bb..7760b35 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -25,7 +25,7 @@ jobs: uses: actions/setup-node@v4.1.0 with: always-auth: true - node-version: 20 + node-version-file: '.nvmrc' registry-url: 'https://registry.npmjs.org' scope: '@ivuorinen' @@ -42,8 +42,8 @@ jobs: - name: Config Git User run: | - git config --global user.name "${{ github.actor }}" - git config --global user.email "${{ github.actor }}@users.noreply.github.com" + git config --global user.name "fiximus" + git config --global user.email "189535814+fiximus@users.noreply.github.com" - name: Bootstrap Lerna run: yarn lerna:bootstrap:ci diff --git a/.github/workflows/update-browserslist.yaml b/.github/workflows/update-browserslist.yaml index d08338c..185bc55 100644 --- a/.github/workflows/update-browserslist.yaml +++ b/.github/workflows/update-browserslist.yaml @@ -19,10 +19,20 @@ jobs: uses: actions/checkout@v4 with: fetch-depth: 0 + + - name: Setup Node.js Environment + uses: actions/setup-node@v4.1.0 + with: + always-auth: true + node-version-file: '.nvmrc' + registry-url: 'https://registry.npmjs.org' + scope: '@ivuorinen' + - name: Configure git run: | git config user.name "fiximus" git config user.email "189535814+fiximus@users.noreply.github.com" + - name: Update Browserslist database and create PR if applies uses: c2corg/browserslist-update-action@v2 with: