Skip to content

Commit

Permalink
update dependencies (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
levivilet authored Dec 16, 2023
1 parent 4c1cb5d commit 925a5ab
Show file tree
Hide file tree
Showing 10 changed files with 2,100 additions and 9,056 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macOS-latest, windows-latest]
os: [ubuntu-22.04, macos-12, windows-2022]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "18.7.0"
node-version: "18.19.0"
- uses: actions/cache@v3
id: npm-cache
with:
Expand Down
35 changes: 35 additions & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: PR

on:
pull_request:
branches:
- main

jobs:
release:
name: Test
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-22.04, macos-12, windows-2022]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "18.19.0"
- uses: actions/cache@v3
id: npm-cache
with:
path: |
**/node_modules
key: ${{ runner.os }}-node-ci-${{ hashFiles('**/package-lock.json') }}
restore-keys: ${{ runner.os }}-node-
- name: npm ci
run: npm ci
if: steps.npm-cache.outputs.cache-hit != 'true'
- name: install playwright dependencies
run: cd e2e && npx playwright install-deps
- name: Run headless test
uses: GabrielBB/xvfb-action@v1
with:
run: npm run e2e
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ on:
jobs:
release:
name: Release
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "18.7.0"
node-version: "18.19.0"
- uses: actions/cache@v3
id: npm-cache
with:
Expand Down
6 changes: 3 additions & 3 deletions .gitpod.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ RUN sudo apt-get update \


RUN bash -c ". .nvm/nvm.sh \
&& nvm install 18.7.0 \
&& nvm use 18.7.0 \
&& nvm alias default 18.7.0"
&& nvm install 18.19.0 \
&& nvm use 18.19.0 \
&& nvm alias default 18.19.0"

RUN echo "nvm use default &>/dev/null" >> ~/.bashrc.d/51-nvm-fix
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v18.7.0
v18.19.0
Loading

0 comments on commit 925a5ab

Please sign in to comment.