Skip to content
This repository was archived by the owner on Jan 14, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
File renamed without changes.
29 changes: 15 additions & 14 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ jobs:
outputs:
VERSION: ${{ steps.set-project.outputs.version }}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '18.x'
registry-url: 'https://registry.npmjs.org'
Expand Down Expand Up @@ -38,8 +38,8 @@ jobs:
outputs:
ASSET_URL: ${{ steps.upload.outputs.asset_url }}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '18.x'
registry-url: 'https://registry.npmjs.org'
Expand All @@ -49,15 +49,16 @@ jobs:
run: echo "tgz_name=$(npm pack)" >> $GITHUB_OUTPUT
id: tgz
- name: Upload tarball to release assets via GH CLI
working-directory: ./RunConditionTable
working-directory: .
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: gh release upload @aliceo2/run-condition-table@${{ needs.deploy-npm-module.outputs.VERSION }} ${{ steps.tgz.outputs.tgz_name }}
- name: Upload TARball to S3
uses: awegrzyn/s3-put-action@v1
with:
file: ./${{ steps.tgz.outputs.tgz_name }}
bucket: 's3://system-configuration/TARS/'
env:
ACCESS_KEY: ${{ secrets.S3_ACCESS_KEY }}
SECRET_KEY: ${{ secrets.S3_SECRET_KEY }}
run: echo "Ok"
# run: gh release upload @aliceo2/run-condition-table@${{ needs.deploy-npm-module.outputs.VERSION }} ${{ steps.tgz.outputs.tgz_name }}
# - name: Upload TARball to S3
# uses: awegrzyn/s3-put-action@v1
# with:
# file: ./${{ steps.tgz.outputs.tgz_name }}
# bucket: 's3://system-configuration/TARS/'
# env:
# ACCESS_KEY: ${{ secrets.S3_ACCESS_KEY }}
# SECRET_KEY: ${{ secrets.S3_SECRET_KEY }}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@ scratch
env_file
database/cache
notes
.DS_Store
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"files.exclude": {
".eslintrc": true,
".nycrc": true,
".github": true,
// ".github": true,
"codecov.yml": true,

"LICENSE": true,
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"coverage:report": "nyc report --report=html --report=json",
"coverage": "nyc npm run coverage:test && npm run coverage:report ",
"test": "mkdir -pv ./reports; npm run static; npm run coverage; if [ \"RUNNING_ENV\" = \"DOCKER\" ]; then chmod -R o+w ./reports; fi;",
"test:mocha": "env-cmd mocha",
"test:mocha": "env-cmd -f .env.test mocha",
"reports:show": "open ./reports/**/*.html",
"reports:clean": "rm -rf ./reports; rm -rf .nyc_output",
"start:dev": "nodemon app/main.js --watch main.js --watch app --ignore app/public",
Expand Down