Skip to content

Update workflow.

Update workflow. #82

Workflow file for this run

name: Node.js NVM
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
env:
ADDITIONAL_PARAMETERS: --without-snapshot
CFLAGS: -O2
CXXFLAGS: -O2
strategy:
matrix:
# node-version: [ '0.8.x', '0.6.x' ]
node-version: [ '0.8.x' ]
steps:
- run: sudo apt-get install -y python2.7
- run: ls /usr/bin/p*
- run: ls -la /usr/bin/python
- run: sudo ln -fs /usr/bin/python2.7 /usr/bin/python
- run: ls -la /usr/bin/python
- run: python --version
- run: ulimit -v unlimited
#- run: export PYTHON=/usr/bin/python2.7
- uses: actions/checkout@v4
#- run: export CFLAGS=-O2
#- run: export CXXFLAGS=-O2
- run: echo $CFLAGS
- run: echo $CXXFLAGS
#- run: export ADDITIONAL_PARAMETERS=--without-snapshot
#- run: export ADDITIONAL_PARAMETERS=CFLAGS='-O2' CXXFLAGS='-O2'
- run: echo $ADDITIONAL_PARAMETERS
- name: Use Node.js ${{ matrix.node-version }}
uses: dcodeIO/setup-node-nvm@v5
with:
node-version: ${{ matrix.node-version }}
node-mirror: https://nodejs.org/dist
- run: sudo apt-get install -y stunnel
- run: stunnel etc/stunnel.conf
- run: npm config set registry="http://registry.npmjs.org/"
- run: npm config set proxy http://localhost:8080
- run: npm install
- run: npm test
#- run: which nvm