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

@ -17,6 +17,7 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
### Changed ### Changed
- No longer execute `test-typings.ts` to check typings, just compile it. - 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 ## [3.1.0] - 2022-09-02
### Added ### Added

Loading…
Cancel
Save