update actions/setup-node & actions/checkout to v3

pull/32/head
Timothée Rebours 2 years ago
parent 9e055b8048
commit c44b7e8e30
  1. 24
      .github/workflows/github-actions-demo.yml
  2. 1
      CHANGELOG.md

@ -6,11 +6,11 @@ jobs:
quality:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Install Node.js 18
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: 18.x
node-version: 18
cache: 'npm'
- run: npm ci
- run: npm run lint
@ -20,11 +20,11 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x, 18.x]
node-version: [16, 18]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Install Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
@ -35,11 +35,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Install Node.js 18
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: 18.x
node-version: 18
cache: 'npm'
- name: Install Chrome Stable
uses: browser-actions/setup-chrome@latest
@ -50,11 +50,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Install Node.js 18
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: 18.x
node-version: 18
cache: 'npm'
- run: npm ci
- run: npm run test:react-native

@ -17,6 +17,7 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
### Changed
- No longer execute `test-typings.ts` to check typings, just compile it.
- Update `actions/checkout` and `actions/setup-node` to v3.
## [3.1.0] - 2022-09-02
### Added

Loading…
Cancel
Save