From 403c9ad0c63352e5009a814bd81779883ce65c1e Mon Sep 17 00:00:00 2001 From: cupcakearmy Date: Tue, 1 Nov 2022 21:07:58 +0100 Subject: [PATCH] move to subdirectory --- .github/workflows/trial.yml | 5 ++++- .gitignore => tags/.gitignore | 0 fetch.mjs => tags/index.js | 0 package.json => tags/package.json | 2 ++ pnpm-lock.yaml => tags/pnpm-lock.yaml | 0 5 files changed, 6 insertions(+), 1 deletion(-) rename .gitignore => tags/.gitignore (100%) rename fetch.mjs => tags/index.js (100%) rename package.json => tags/package.json (67%) rename pnpm-lock.yaml => tags/pnpm-lock.yaml (100%) 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