diff --git a/.github/workflows/trial.yml b/.github/workflows/trial.yml index a7398d2..af0a64e 100644 --- a/.github/workflows/trial.yml +++ b/.github/workflows/trial.yml @@ -12,6 +12,9 @@ jobs: runs-on: ubuntu-latest outputs: matrix: ${{ steps.fetcher.outputs.matrix }} + defaults: + run: + working-directory: tags steps: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 @@ -19,7 +22,7 @@ jobs: node-version: 18 - run: npm i - id: fetcher - run: node fetch.mjs + run: node . build: runs-on: ubuntu-latest diff --git a/.gitignore b/tags/.gitignore similarity index 100% rename from .gitignore rename to tags/.gitignore diff --git a/fetch.mjs b/tags/index.js similarity index 100% rename from fetch.mjs rename to tags/index.js diff --git a/package.json b/tags/package.json similarity index 67% rename from package.json rename to tags/package.json index 57180a3..3dd15c5 100644 --- a/package.json +++ b/tags/package.json @@ -1,4 +1,6 @@ { + "type": "module", + "main": "index.js", "devDependencies": { "@actions/core": "^1.10.0", "semver": "^7.3.8" diff --git a/pnpm-lock.yaml b/tags/pnpm-lock.yaml similarity index 100% rename from pnpm-lock.yaml rename to tags/pnpm-lock.yaml