Skip to content

Commit

Permalink
Run CI tests with Node 19
Browse files Browse the repository at this point in the history
* Update GH actions to latest versions
* Use Node19 on all other actions and tests
  • Loading branch information
justingrant committed Jan 10, 2023
1 parent 4664de5 commit c3743e9
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 40 deletions.
30 changes: 15 additions & 15 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,18 @@ jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
persist-credentials: false
- name: use node.js v15.x
uses: actions/setup-node@v1
with:
node-version: 15.x
- run: npm ci
- run: npm run build
- uses: JamesIves/[email protected]
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages
FOLDER: out
CLEAN: true
- uses: actions/checkout@v3
with:
persist-credentials: false
- name: use node.js v19.x
uses: actions/setup-node@v3
with:
node-version: 19.x
- run: npm ci
- run: npm run build
- uses: JamesIves/[email protected]
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages
FOLDER: out
CLEAN: true
16 changes: 8 additions & 8 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: use node.js v15.x
uses: actions/setup-node@v1
with:
node-version: 15.x
- run: npm ci
- run: npm run lint
- run: npm run build:spec
- uses: actions/checkout@v3
- name: use node.js v19.x
uses: actions/setup-node@v3
with:
node-version: 19.x
- run: npm ci
- run: npm run lint
- run: npm run build:spec
34 changes: 17 additions & 17 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,50 +5,50 @@ on:
branches:
- main
jobs:
test-polyfill:
test-demitasse:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: use node.js v18.x
uses: actions/setup-node@v1
- uses: actions/checkout@v3
- name: use node.js v19.x
uses: actions/setup-node@v3
with:
node-version: 18.x
node-version: 19.x
- run: npm ci
- run: npm run test-demitasse
env:
HEAD_SHA: ${{ github.event.pull_request.head.sha }}
test-test262:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
submodules: true
- name: use node.js v18.x
uses: actions/setup-node@v1
- name: use node.js v19.x
uses: actions/setup-node@v3
with:
node-version: 18.x
node-version: 19.x
- run: npm ci
- run: npm run codecov:test262
env:
HEAD_SHA: ${{ github.event.pull_request.head.sha }}
test-cookbook:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: use node.js v18.x
uses: actions/setup-node@v1
- uses: actions/checkout@v3
- name: use node.js v19.x
uses: actions/setup-node@v3
with:
node-version: 18.x
node-version: 19.x
- run: npm ci
- run: npm run test-cookbook
test-validstrings:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: use node.js v18.x
uses: actions/setup-node@v1
- uses: actions/checkout@v3
- name: use node.js v19.x
uses: actions/setup-node@v3
with:
node-version: 18.x
node-version: 19.x
- run: npm ci
- run: |
cd polyfill
Expand Down

0 comments on commit c3743e9

Please sign in to comment.