Skip to content

Commit

Permalink
update github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanseifert committed May 1, 2024
1 parent 7978b68 commit 2162b0f
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,22 +18,22 @@ jobs:
SONARCLOUD_TOKEN: ${{ secrets.SONARCLOUD_TOKEN }}

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis

- name: Read properties from package.json
id: package_json
uses: zoexx/github-action-json-file-properties@1.0.4
uses: zoexx/github-action-json-file-properties@1.0.6
with:
file_path: package.json

- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 20
cache: npm

- run: npm install
- run: npm ci
- run: npm run lint
- run: npm run test:coverage
- run: npm run build
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,20 +14,20 @@ jobs:
url: "https://brdgm.me/${{ steps.package_json.outputs.appDeployName }}"

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Read properties from package.json
id: package_json
uses: zoexx/github-action-json-file-properties@1.0.4
uses: zoexx/github-action-json-file-properties@1.0.6
with:
file_path: package.json

- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 20
cache: npm

- run: npm install
- run: npm ci
- run: npm run test:unit
- run: npm run build

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-from-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
permissions:
contents: write
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: ncipollo/release-action@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 2162b0f

Please sign in to comment.