Open1

.tool-versionsのバージョン指定をGitHub Actionsに持ってくる

Nakano as a ServiceNakano as a Service
      - name: Read .tool-versions
        uses: marocchino/tool-versions-action@v1
        id: tool_versions

      - name: Setup node
        uses: actions/setup-node@v3
        with:
          node-version: ${{ steps.tool_versions.outputs.nodejs }}
          cache: npm