Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
mahozad committed Nov 22, 2023
1 parent 75af3e9 commit 50e07a3
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 13 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Expand Up @@ -11,11 +11,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout the code
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Set up Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: '18'
node-version: '20'
- name: Install the library and its dependencies
run: npm install
- name: Set path to a chromium browser (needed for screenshot tests)
Expand Down
20 changes: 10 additions & 10 deletions .github/workflows/publish-new-release.yml
Expand Up @@ -11,11 +11,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout the code
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Set up Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: '18'
node-version: '20'
- name: Install the library and its dependencies
run: npm install
- name: Set path to a chromium browser (needed for screenshot tests)
Expand Down Expand Up @@ -51,7 +51,7 @@ jobs:
name: Rebase (fast forward) the prod branch onto main
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: emiliopedrollo/auto-merge@v1.2.0
with:
target_branch: 'prod'
Expand All @@ -69,11 +69,11 @@ jobs:
packages: write
steps:
- name: Checkout the code
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Set up Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: '18'
node-version: '20'
- name: Install the library and its dependencies
run: npm install
- name: Set path to a chromium browser (needed for screenshot tests)
Expand All @@ -93,9 +93,9 @@ jobs:
- name: Publish the package to GitHub Packages registry
run: npm publish
- name: Set up Node again
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: '18'
node-version: '20'
registry-url: 'https://registry.npmjs.org'
- name: Install the library and its dependencies
run: npm install
Expand All @@ -114,7 +114,7 @@ jobs:
contents: write
steps:
- name: Checkout the code
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Generate the changelog
run: kotlin .github/scripts/generate-github-changelog.main.kts
- name: Create the release
Expand Down
1 change: 1 addition & 0 deletions package.json
Expand Up @@ -24,6 +24,7 @@
"test-with-coverage": "jest --env=node --colors --coverage test",
"lint": "eslint --color dist/theme-switch.js",
"lint-html": "eslint --format html --output-file lint.html dist/theme-switch.js",
"create-distribution": "./node_modules/.bin/rollup -c rollup.config.mjs",
"prepublishOnly": "npm test"
},
"babel": {
Expand Down

0 comments on commit 50e07a3

Please sign in to comment.