-
Notifications
You must be signed in to change notification settings - Fork 28
35 lines (33 loc) · 1.05 KB
/
test-gh.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: Integration Test GitHub
on:
push:
branches-ignore:
- 'dependabot/**'
pull_request:
jobs:
build:
strategy:
fail-fast: false
matrix:
container:
# Official Node.js images.
- node:12
- node:14
- node:16
# RHEL Node.js builds are icu_small without installing the
# optional nodejs-full-i18n rpm.
- registry.access.redhat.com/ubi8/nodejs-12
- registry.access.redhat.com/ubi8/nodejs-14
# - registry.access.redhat.com/ubi8/nodejs-16
- node:12-slim
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v3
with:
repository: nodejs/full-icu-test
path: full-icu-test
- name: Install full-icu
run: docker run --rm -v $(pwd):/usr/src/app -w /usr/src/app ${{ matrix.container }} npm i --no-package-lock --unsafe-perm
- name: Test full-icu
run: docker run --rm -e NODE_ICU_DATA=. -v $(pwd):/usr/src/app -w /usr/src/app ${{ matrix.container }} node ./full-icu-test/test.js