Skip to content

chore(CI): updates actions versions #33

chore(CI): updates actions versions

chore(CI): updates actions versions #33

Workflow file for this run

name: Test and build
on: [push]
jobs:
build:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: '15.x'
- name: Cache Node.js modules
uses: actions/cache@v4
with:
# npm cache files are stored in `~/.npm` on Linux/macOS
path: ~/.npm
key: ${{ runner.OS }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.OS }}-node-
${{ runner.OS }}-
- name: Install dependencies
run: npm ci
- name: Lint, test and build release SDK
run: npm run ci
- name: Archive production artifacts
uses: actions/upload-artifact@v4
with:
name: build
path: build
overwrite: true