Release: β¨ Gif/Avif Support and Memory leak fix [1.0.22] #257
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: "π¨ π π’ Npm Test Publish Package" | |
on: [pull_request] | |
jobs: | |
release: | |
name: Test Npm Publish | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [15.x] | |
go-version: [1.17] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: π’ Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node-version }} | |
registry-url: "https://registry.npmjs.org" | |
token: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }} | |
- name: Set up Go | |
uses: actions/setup-go@v2 | |
with: | |
go-version: ${{ matrix.go-version }} | |
- name: Export Go | |
run: go env -w GO111MODULE=auto | |
working-directory: ./ | |
- name: Install golang all deps | |
run: while read l; do go get -v "$l"; done < <(go list -f '{{ join .Imports "\n" }}' ./cycletls) | |
shell: bash | |
- name: Install npm depencencies | |
run: npm ci --unsafe-perm | |
working-directory: ./ | |
- name: π publish | |
run: npm publish --dry-run | |
working-directory: ./ |