Skip to content

Commit

Permalink
chore(ci): use own actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Badisi committed Sep 6, 2024
1 parent 73004fd commit fcf5bda
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:

ci_release:
needs: ci_tests
uses: dsi-hug/actions/.github/workflows/action.yml@v2
uses: badisi/actions/.github/workflows/action.yml@v1
secrets:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
with:
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/ci_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ on:
workflow_call:
push:
branches:
- '**'
- "**"
tags-ignore:
- '**'
- "**"

concurrency:
group: run-tests-group-${{ github.ref }}
Expand All @@ -17,17 +17,17 @@ jobs:
ci_tests:
strategy:
matrix:
os: ['ubuntu-latest', 'macos-latest', 'windows-latest']
os: ["ubuntu-latest", "macos-latest", "windows-latest"]
node: [18, 20]

name: ${{ matrix.os }}_node${{ matrix.node }}
runs-on: ${{ matrix.os }}
steps:
- name: Setup
uses: dsi-hug/actions/setup@v2
uses: badisi/actions/setup@v1
with:
node-version: ${{ matrix.node }}
setup-chrome: true
node-version: ${{ matrix.node }}
setup-chrome: true

- name: Build tests application
working-directory: projects/tests-app
Expand All @@ -38,8 +38,8 @@ jobs:
shell: bash # use bash because powershell is used by default on Windows and background job are cleaned after the run
# use global install (instead of npx) because otherwise the server won't stay up on Windows
run: |
npm install -g http-server
http-server --port=4200 &
npm install -g http-server
http-server --port=4200 &
- name: Make sure tests application is running
shell: bash # use bash so that sleep is recognized even on Windows
Expand Down

0 comments on commit fcf5bda

Please sign in to comment.