4.x deprecations (and more) #553
Workflow file for this run
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: CI-Test | |
on: | |
pull_request: | |
branches: | |
- '**' | |
defaults: | |
run: | |
working-directory: ./ | |
shell: bash | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
if: "! contains(toJSON(github.event.pull_request.labels.*.name), 'ci-skip')" | |
timeout-minutes: 10 | |
strategy: | |
matrix: | |
node-version: [20.x] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: npm | |
cache-dependency-path: './package-lock.json' | |
- name: Prepare dot npmrc for private registry | |
run: echo //npm.pkg.github.com/:_authToken=${{ secrets.GH_TOKEN }} >> .npmrc | |
- name: Bootstrap | |
if: steps.node-cache.outputs.cache-hit != 'true' | |
run: npm ci | |
env: | |
NPM_AUTH_TOKEN: ${{ secrets.GH_TOKEN }} | |
- name: Build Test | |
run: npm run build | |
env: | |
NODE_ENV: dev | |
CI: true | |
- name: Pebbles Test | |
run: npm run test | |
env: | |
NODE_ENV: test | |
CI: true |