Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update various github actions and node versions #2251

Merged
merged 2 commits into from
Apr 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,19 @@ jobs:
steps:
- uses: google/wireit@setup-github-actions-caching/v1
- name: Checkout Repo
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
# This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits
fetch-depth: 0

- name: Setup Node.js 16.x
uses: actions/setup-node@v3
- name: Setup Node.js 18.x
uses: actions/setup-node@v4
with:
node-version: 16.x
node-version: 18.x
registry-url: 'https://registry.npmjs.org'

- name: Install Dependencies
run: npm install --ci
run: npm ci

- name: Create Release Pull Request or Publish to npm
id: changesets
Expand Down
36 changes: 18 additions & 18 deletions .github/workflows/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,18 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: google/wireit@setup-github-actions-caching/v1
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Sanity check
run: node ./scripts/lock-scan.js

- name: Setup Node 16.x
uses: actions/setup-node@v1
- name: Setup Node 18.x
uses: actions/setup-node@v4
with:
node-version: 16.x
node-version: 18.x

- name: Install Dependencies
run: npm install --ci
run: npm ci

- name: Lint
run: npm run lint
Expand All @@ -32,15 +32,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: google/wireit@setup-github-actions-caching/v1
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Setup Node 16.x
uses: actions/setup-node@v1
- name: Setup Node 18.x
uses: actions/setup-node@v4
with:
node-version: 16.x
node-version: 18.x

- name: Install Dependencies
run: npm install --ci
run: npm ci

- uses: microsoft/playwright-github-action@v1

Expand All @@ -52,19 +52,19 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
node-version: [16.x]
node-version: [18.x]
os: [ubuntu-latest]
steps:
- uses: google/wireit@setup-github-actions-caching/v1
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Setup Node ${{ matrix.node-version }}
uses: actions/setup-node@v1
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}

- name: Install Dependencies
run: npm install --ci
run: npm ci

- name: Test
run: npm run test:node
Expand All @@ -75,19 +75,19 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
node-version: [16.x]
node-version: [18.x]
os: [windows-latest]
steps:
- uses: google/wireit@setup-github-actions-caching/v1
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Setup Node ${{ matrix.node-version }}
uses: actions/setup-node@v1
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}

- name: Install Dependencies
run: npm install --ci
run: npm ci

- name: Test
run: npm run test:node
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
16
18