Skip to content

Commit

Permalink
Merge pull request #170 from PublicisSapient/chore/update-workflows-f…
Browse files Browse the repository at this point in the history
…or-node-versions

Chore - make node v configurable
  • Loading branch information
jcarpe authored Jan 12, 2024
2 parents 00561a8 + 16ab354 commit 68771a3
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions .github/workflows/module-bundle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,21 +10,33 @@ on:
jobs:
build:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [18.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm test
- run: npm run bundle
publish:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [18.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "18.x"
node-version: "${{ matrix.node-version }}"
registry-url: "https://registry.npmjs.org"
- run: npm ci
- run: npm run bundle
Expand Down

0 comments on commit 68771a3

Please sign in to comment.