Skip to content

fix: updated archive RPC for XDC (#47) #112

fix: updated archive RPC for XDC (#47)

fix: updated archive RPC for XDC (#47) #112

Workflow file for this run

name: CI/CD
on:
push:
branches:
- master
workflow_dispatch:
pull_request:
jobs:
test:
name: Lint & Test & Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18.x
- name: Cache Node Modules
uses: actions/cache@v2
env:
cache-name: cache-node-modules
with:
# npm cache files are stored in `~/.npm` on Linux/macOS
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: Install Packages
run: npm ci
- name: Check Lint
run: npm run lint
- name: Check TypeScript
run: npm run lint:type
- name: Test
run: npm run test
- name: Build
run: npm run build
# - name: Integration
# run: npm run integration:ci
- name: release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npm run semantic-release