fix(deps): update dependency cross-fetch to v4.1.0 #1644
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 'CICD pipeline' | |
on: | |
push: | |
branches: '*' | |
pull_request: | |
branches: '*' | |
jobs: | |
Build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Bulid from src | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '20.x' | |
- run: yarn install --frozen-lockfile | |
- run: yarn build-only | |
- uses: actions/upload-artifact@master | |
with: | |
name: dist | |
path: dist/ | |
- run: tar -cvf node_modules.tar node_modules | |
- uses: actions/upload-artifact@master | |
with: | |
name: node_modules | |
path: node_modules.tar | |
test_node: | |
needs: Build | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [15.x, 16.x, 17.x, 18.x, 19.x, latest] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Run prod version with Node v${{ matrix.node-version }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- uses: actions/download-artifact@master | |
with: | |
name: dist | |
path: dist/ | |
- uses: actions/download-artifact@master | |
with: | |
name: node_modules | |
path: ./ | |
- run: tar -xvf node_modules.tar | |
- run: yarn test-only | |
test_browser: | |
needs: Build | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/download-artifact@master | |
with: | |
name: dist | |
path: dist/ | |
- run: echo '::warning ::Not able to automate browser tests yet' | |
- run: '# yarn test-browser-ci' |