Skip to content

Commit

Permalink
chore: update github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
balzss committed Aug 5, 2024
1 parent d7b1a3b commit c9d3330
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-docs-to-netlify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ jobs:
runs-on: ubuntu-latest
name: Deploy docs to Netlify.
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Install netlify-cli
run: npm install --save-dev [email protected]
- name: Install packages.
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Deploy docs from master commit
name: Deploy docs from master commit to gh pages
on:
push:
branches:
Expand Down
8 changes: 3 additions & 5 deletions .github/workflows/manual-release-from-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,17 @@ jobs:
runs-on: ubuntu-latest
name: Release to npm
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: '20'
node-version: '22'
cache: 'npm'
- name: Install packages
run: npm ci
- name: Set up project
run: npm run bootstrap
- name: Run tests
run: npm run test:patchset
- name: Release to NPM
env:
NPM_TOKEN: ${{secrets.NPM_TOKEN}}
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/manual-release-to-npm.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,17 @@
name: Npm release
name: Manual Npm release
on: workflow_dispatch
jobs:
release:
runs-on: ubuntu-latest
name: Release to npm
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install packages
run: npm ci
- name: Set up project
run: npm run bootstrap
- name: Run tests
run: npm run test:patchset
- name: Release to NPM
env:
NPM_TOKEN: ${{secrets.NPM_TOKEN}}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
deploy-preview:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Npm install and bootstrap
run: npm ci && npm run bootstrap
if: github.event.action != 'closed' # don't run install and bootstrap unnecessarily when pr is closed
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/vrt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,25 @@ on:
push:
branches:
- master
- v9_maintenance
- v8_maintenance
pull_request:
branches:
- master
- v9_maintenance
- v8_maintenance
jobs:
chromatic_deployment:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install Node 20
- name: Install Node 22
uses: actions/setup-node@v4
with:
node-version: '20'
node-version: '22'
- name: Install project dependencies
run: npm ci
- name: Bootstrap project
Expand Down

0 comments on commit c9d3330

Please sign in to comment.