Skip to content

Commit

Permalink
Merge pull request #108 from release-it-plugins/update-actions
Browse files Browse the repository at this point in the history
Updating actions to use volta action
  • Loading branch information
scalvert committed Jul 19, 2023
2 parents be33fff + c336d74 commit 49fe656
Showing 1 changed file with 16 additions and 18 deletions.
34 changes: 16 additions & 18 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:

jobs:
build:
name: "Node ${{ matrix.node-version }}"
name: 'Node ${{ matrix.node-version }}'

runs-on: ubuntu-latest

Expand All @@ -19,29 +19,27 @@ jobs:
node-version: [16.x, 18.x]

steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: install dependencies
run: npm ci
- run: npm test
- uses: actions/checkout@v3.0.2
- uses: volta-cli/action@v4
with:
node-version: ${{ matrix.node-version }}
- name: install dependencies
run: npm ci
- run: npm test

release-it-compat:
name: "release-it@${{ matrix.release-it-version }}"
name: 'release-it@${{ matrix.release-it-version }}'

runs-on: ubuntu-latest

strategy:
matrix:
release-it-version: ["14.0.0", "14.1.0", "14.2.0", "15.2.0", "^15.0.0", "^16.0.0"]
release-it-version: ['14.0.0', '14.1.0', '14.2.0', '15.2.0', '^15.0.0', '^16.0.0']

steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: 16
- name: install dependencies
run: npm ci
- run: npm install --saveDev release-it@${{ matrix.release-it-version }}
- run: npm test
- uses: actions/checkout@v3.0.2
- uses: volta-cli/action@v4
- name: install dependencies
run: npm ci
- run: npm install --saveDev release-it@${{ matrix.release-it-version }}
- run: npm test

0 comments on commit 49fe656

Please sign in to comment.