Skip to content

Commit

Permalink
fix: github-action package not working
Browse files Browse the repository at this point in the history
  • Loading branch information
fpaul-1A committed Dec 19, 2024
1 parent fae0dd1 commit 52e1c1c
Show file tree
Hide file tree
Showing 6 changed files with 188 additions and 198 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/code-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,3 +116,18 @@ jobs:
env:
lintCmd: ${{ inputs.affected && format('lint:affected --base=remotes/origin/{0}', github.base_ref || github.ref_name) || 'lint'}}
run: yarn ${{ env.lintCmd }} --configuration ci

# Check that the packaging of github-actions is still working
github-actions:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
fetch-depth: ${{ inputs.affected && '0' || '1' }}
- name: Setup
uses: ./tools/github-actions/setup
- name: Package github actions
env:
nxCmd: ${{ inputs.affected && format('nx affected --base=remotes/origin/{0}', github.base_ref || github.ref_name) || 'nx run-many'}}
run: yarn ${{ env.nxCmd }} --target=package-github-action

4 changes: 3 additions & 1 deletion packages/@o3r/new-version/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,5 +81,7 @@
"engines": {
"node": "^18.19.1 || ^20.11.1 || >=22.0.0"
},
"schematics": "./collection.json"
"schematics": "./collection.json",
"main": "./dist/src/public_api.js",
"typings": "./dist/src/public_api.d.ts"
}
2 changes: 1 addition & 1 deletion packages/@o3r/new-version/tsconfig.build.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"module": "commonjs",
"moduleResolution": "node",
"outDir": "./dist",
"rootDir": "src",
"rootDir": ".",
"tsBuildInfoFile": "./build/.tsbuildinfo"
},
"include": [
Expand Down
27 changes: 0 additions & 27 deletions tools/github-actions/new-version/packaged-action/LICENSE.txt

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 52e1c1c

Please sign in to comment.