Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update CI #146

Merged
merged 5 commits into from
Oct 13, 2022
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
4 changes: 2 additions & 2 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2.3.1
- uses: actions/setup-node@v2
uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16.10.0

Expand Down
38 changes: 19 additions & 19 deletions .github/workflows/package-main-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ jobs:
runs-on: ubuntu-latest
needs: checkHeadBranch
steps:
# - uses: actions/checkout@v2
# - uses: actions/checkout@v3
# needs uses: actions/checkout@ if script/module is required
- name: checkTitelTag
uses: actions/github-script@v5
uses: actions/github-script@v6
id: get-tag
with:
result-encoding: string
Expand Down Expand Up @@ -61,12 +61,12 @@ jobs:
needs: checkTitelTag
if: ${{ needs.checkTitelTag.outputs.VERSION_TAG != '' }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: checkout tag
run: |
git fetch --all --tags
git checkout ${{ needs.checkTitelTag.outputs.VERSION_TAG }}
- uses: actions/setup-node@v2
- uses: actions/setup-node@v3
with:
node-version: 16
- run: rm -f .npmrc
Expand All @@ -81,20 +81,20 @@ jobs:
runs-on: ubuntu-latest
if: ${{ needs.checkTitelTag.outputs.VERSION_TAG != '' }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: checkout tag
run: |
git fetch --all --tags
git checkout ${{ needs.checkTitelTag.outputs.VERSION_TAG }}
- uses: actions/setup-node@v2
- uses: actions/setup-node@v3
with:
node-version: 16
- name: build
run: |
npm ci
npm run build
- name: Archive dist artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: "dist"
path: dist
Expand All @@ -105,7 +105,7 @@ jobs:
needs: build
steps:
- name: checkLabel
uses: actions/github-script@v5
uses: actions/github-script@v6
with:
script: |
if(context.payload.pull_request.labels){
Expand All @@ -123,7 +123,7 @@ jobs:
if: ${{ needs.checkTitelTag.outputs.VERSION_TAG != '' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: checkout tag
run: |
git fetch --all --tags
Expand All @@ -138,20 +138,20 @@ jobs:
needs: [checkHeadBranch, checkTitelTag, checkTagOnNpm, build, checkLabel, gh-release]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Download dist result from job build
uses: actions/download-artifact@v2
uses: actions/download-artifact@v3
with:
name: "dist"
path: dist
- uses: actions/setup-node@v2
- uses: actions/setup-node@v3
with:
node-version: 16
registry-url: https://npm.pkg.github.com/
scope: "@dlr-eoc"
- run: npm ci
### install npm 6 for publish https://github.com/npm/cli/issues/2453
- run: npm i -g npm@6.14.13
### update npm to >8.19 for publish https://github.com/npm/cli/issues/2453 https://github.com/npm/cli/issues/3573
- run: npm i -g npm@8.19.2
- run: rm -f .npmrc
### for each module in dist set version from repository package.json
- run: node scripts/library/index.js --set
Expand All @@ -171,20 +171,20 @@ jobs:
needs: [checkHeadBranch, checkTitelTag, checkTagOnNpm, build, checkLabel, gh-release]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Download dist result from job build
uses: actions/download-artifact@v2
uses: actions/download-artifact@v3
with:
name: "dist"
path: dist
- uses: actions/setup-node@v2
- uses: actions/setup-node@v3
with:
node-version: 16
registry-url: https://registry.npmjs.org/
scope: "@dlr-eoc"
- run: npm ci
### install npm 6 for publish https://github.com/npm/cli/issues/2453
- run: npm i -g npm@6.14.13
### update npm to >8.19 for publish https://github.com/npm/cli/issues/2453 https://github.com/npm/cli/issues/3573
- run: npm i -g npm@8.19.2
- run: rm -f .npmrc
### for each module in dist set version from repository package.json
- run: node scripts/library/index.js --set
Expand Down
36 changes: 20 additions & 16 deletions .github/workflows/package-pre-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ jobs:
runs-on: ubuntu-latest
steps:
# check out before using actions reference from the same repository!
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
- run: rm -f .npmrc
Expand All @@ -38,13 +38,17 @@ jobs:
needs: checkTagOnNpm
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
- uses: ./.github/actions/build
- uses: ./.github/actions/test
- name: build
run: |
npm ci
npm run build
- name: Archive dist artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: "dist"
path: dist
Expand All @@ -53,20 +57,20 @@ jobs:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Download dist result from job build
uses: actions/download-artifact@v2
uses: actions/download-artifact@v3
with:
name: "dist"
path: dist
- uses: actions/setup-node@v2
- uses: actions/setup-node@v3
with:
node-version: 16
registry-url: https://npm.pkg.github.com/
scope: "@dlr-eoc"
- run: npm ci
### install npm 6 for publish https://github.com/npm/cli/issues/2453
- run: npm i -g npm@6.14.13
### update npm to >8.19 for publish https://github.com/npm/cli/issues/2453 https://github.com/npm/cli/issues/3573
- run: npm i -g npm@8.19.2
- run: rm -f .npmrc
### for each module in dist set version from repository package.json
- run: node scripts/library/index.js --set
Expand All @@ -86,20 +90,20 @@ jobs:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Download dist result from job build
uses: actions/download-artifact@v2
uses: actions/download-artifact@v3
with:
name: "dist"
path: dist
- uses: actions/setup-node@v2
- uses: actions/setup-node@v3
with:
node-version: 16
registry-url: https://registry.npmjs.org/
scope: "@dlr-eoc"
- run: npm ci
### install npm 6 for publish https://github.com/npm/cli/issues/2453
- run: npm i -g npm@6.14.13
### update npm to >8.19 for publish https://github.com/npm/cli/issues/2453 https://github.com/npm/cli/issues/3573
- run: npm i -g npm@8.19.2
- run: rm -f .npmrc
### for each module in dist set version from repository package.json
- run: node scripts/library/index.js --set
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
- uses: ./.github/actions/test
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ukis-frontend-libraries",
"version": "10.0.0-alpha.0",
"version": "10.0.0-next.1",
"license": "Apache-2.0",
"author": "Team UKIS",
"bugs": {
Expand Down